diff --git a/shutils/stow_funcs.sh b/shutils/stow_funcs.sh index 291386fdc27..10558c65cd7 100644 --- a/shutils/stow_funcs.sh +++ b/shutils/stow_funcs.sh @@ -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