X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Fscripts%2Fvrpm;h=f4c9afb7cfa65e0ca02b154e92ad9decc88de893;hb=31ba84762bd728b394f0c7392a60ffc51c8e6bec;hp=b5ff1074ffcb47280d1f2317092d0ea01593d44a;hpb=416c3b76d5d3c68f5a606fe110d157e5d8cf7386;p=util-vserver.git diff --git a/util-vserver/scripts/vrpm b/util-vserver/scripts/vrpm index b5ff107..f4c9afb 100755 --- a/util-vserver/scripts/vrpm +++ b/util-vserver/scripts/vrpm @@ -16,9 +16,9 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -: ${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..." + echo "Can not find util-vserver installation; aborting..." >&2 exit 1 } . "$UTIL_VSERVER_VARS" @@ -26,18 +26,24 @@ test -e "$UTIL_VSERVER_VARS" || { function showHelp() { - echo "Usage: $0 * [--all] [--help] [--version] [--unify] -- +" + echo \ +$"Usage: $0 * [--all] [--help] [--version] [--unify] -- + + +Report bugs to <$PACKAGE_BUGREPORT>." + exit $1 } function showVersion() { - cat <