New debootstrap
[util-vserver.git] / scripts / functions
index f4cd1ff..a4c46b9 100644 (file)
@@ -429,7 +429,7 @@ function _pkgMountYum
 
 function _pkgMountUrpmi
 {
-    :
+    _pkgMountBindDir "$RPMSTATEDIR" "$URPMISTATEDIR/../../../.rpmdb"
 }
 
 function _pkgMountRPM
@@ -926,7 +926,7 @@ function pkgmgmt.isUrpmiAvailable
     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