stow_pkg(): remove wrong test.
--HG-- extra : convert_revision : 3a819bc1026c9ed718a0e6d7c6fe1d71cd0883e3
This commit is contained in:
parent
9a10b636cc
commit
0bb6db28c2
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue