: ${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"
echo $"Can not find chroot environment at '$vdir' for '$CUR_VSERVER'" >&2
exit 1
}
-for bin in `which rpm` /bin/rpm /usr/lib/rpm/rpmi ""; do
+for bin in `which rpm` /bin/rpm /usr/lib/rpm/rpm${RPM_FLAVOR:-i} ""; do
ldd "$bin" &>/dev/null && break
done