# distrib-info vserver1 pkgversion
# If vserver1 is a redhat system, it executes
# rpm -qa --queryformat "%{name}=%{version}-%{release}
-: ${UTIL_VSERVER_VARS:=$(dirname $0)/util-vserver-vars}
+: ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars}
test -e "$UTIL_VSERVER_VARS" || {
echo "Can not find util-vserver installation; aborting..."
exit 1
# 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 $*
else
echo Distribution not supported yet >&2
fi
-