From 0bb6db28c2a8948795fa198c382714f51dd230c3 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 22 Dec 2008 03:06:15 +0100 Subject: [PATCH] stow_pkg(): remove wrong test. --HG-- extra : convert_revision : 3a819bc1026c9ed718a0e6d7c6fe1d71cd0883e3 --- shutils/stow_funcs.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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