stow_pkg(): remove wrong test.
--HG-- extra : convert_revision : 3a819bc1026c9ed718a0e6d7c6fe1d71cd0883e3
This commit is contained in:
parent
9a10b636cc
commit
0bb6db28c2
@ -35,8 +35,7 @@ stow_pkg()
|
|||||||
|
|
||||||
[ -z "$pkg" ] && return 2
|
[ -z "$pkg" ] && return 2
|
||||||
|
|
||||||
if [ $(id -u) -ne 0 ] && \
|
if [ $(id -u) -ne 0 ] && [ ! -w $XBPS_MASTERDIR ]; then
|
||||||
[ ! -w $destdir -o ! -w $XBPS_MASTERDIR ]; then
|
|
||||||
msg_error "cannot stow $pkg! (permission denied)"
|
msg_error "cannot stow $pkg! (permission denied)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user