X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=scripts%2Ffunctions;h=2eac61f94e6e53312c165cd3ad13023a6db4ce47;hb=f64dbf290eb891ebee9b40eabd5240d15a873568;hp=ee4e87f6f2de6d48ee68911f7fbfe3f1fc298b45;hpb=943b61d514137664439db8bbb8630bfc0baf6c59;p=util-vserver.git diff --git a/scripts/functions b/scripts/functions index ee4e87f..2eac61f 100644 --- a/scripts/functions +++ b/scripts/functions @@ -91,7 +91,7 @@ function isDirectoryEmpty shopt -s nullglob || * ignore_lostfound=1 - test -z "$2" -o "$2" = 0 || ignore_lostfound= + test -n "$2" -a "$2" != 0 || ignore_lostfound= for i in "$1"/*; do case "$i" in @@ -429,7 +429,7 @@ function _pkgMountYum function _pkgMountUrpmi { - : + _pkgMountBindDir "$RPMSTATEDIR" "$URPMISTATEDIR/../../../.rpmdb" } function _pkgMountRPM