Use correct path to look for urpmi
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Fri, 28 Oct 2011 21:57:04 +0000 (23:57 +0200)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Fri, 28 Oct 2011 21:57:04 +0000 (23:57 +0200)
scripts/functions

index 8fc1929..ee4e87f 100644 (file)
@@ -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_urpmi=
+       test -d "$cfgdir"/base/var/lib/urpmi || have_urpmi=
     else
        have_urpmi=
        for i in /bin /usr/bin /usr/local/bin; do