stow_pkg(): remove wrong test.

--HG--
extra : convert_revision : 3a819bc1026c9ed718a0e6d7c6fe1d71cd0883e3
This commit is contained in:
Juan RP 2008-12-22 03:06:15 +01:00
parent 9a10b636cc
commit 0bb6db28c2

View file

@ -35,8 +35,7 @@ stow_pkg()
[ -z "$pkg" ] && return 2
if [ $(id -u) -ne 0 ] && \
[ ! -w $destdir -o ! -w $XBPS_MASTERDIR ]; then
if [ $(id -u) -ne 0 ] && [ ! -w $XBPS_MASTERDIR ]; then
msg_error "cannot stow $pkg! (permission denied)"
fi