added Vector_zeroEnd() function
[util-vserver.git] / util-vserver / scripts / legacy / distrib-info
index 9103cb3..771d107 100755 (executable)
@@ -27,7 +27,7 @@
 # rpm -qa --queryformat "%{name}=%{version}-%{release}
 : ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars}
 test -e "$UTIL_VSERVER_VARS" || {
-    echo "Can not find util-vserver installation; aborting..."
+    echo $"Can not find util-vserver installation (the file '$UTIL_VSERVER_VARS' would be expected); aborting..." >&2
     exit 1
 }
 . "$UTIL_VSERVER_VARS"
@@ -62,7 +62,7 @@ if [ -f $DIRDIR/etc/redhat-release -o -f $DISTDIR/etc/mandrake-release ] ; then
                # We remove /etc and /var/log to make sure no special file
                # there will be unified
                $CHROOTCMD /bin/rpm -ql --dump $* \
-                       | $PKGLIBDIR/parserpmdump /etc/
+                       | $_PARSERPMDUMP /etc/
                ;;
        dumpfiles)
                $CHROOTCMD /bin/rpm -ql $*
@@ -74,4 +74,3 @@ if [ -f $DIRDIR/etc/redhat-release -o -f $DISTDIR/etc/mandrake-release ] ; then
 else
        echo Distribution not supported yet >&2
 fi
-