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
function _pkgMountUrpmi
{
- :
+ _pkgMountBindDir "$RPMSTATEDIR" "$URPMISTATEDIR/../../../.rpmdb"
}
function _pkgMountRPM
local have_urpmi i
if test -n "$is_internal"; then
have_urpmi=1
- test -d "$cfgdir"/var/lib/urpmi || have_yum=
+ test -d "$cfgdir"/base/var/lib/urpmi || have_urpmi=
else
have_urpmi=
for i in /bin /usr/bin /usr/local/bin; do