X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Fscripts%2Fvapt-get;h=11836ddc076bafaf4c7f3377c6ef61954f17b01c;hb=c574f33e210c3438945209d685c218c51f74cbaa;hp=36f8a4afa4fa360549a212622da3be491a23f49f;hpb=416c3b76d5d3c68f5a606fe110d157e5d8cf7386;p=util-vserver.git diff --git a/util-vserver/scripts/vapt-get b/util-vserver/scripts/vapt-get index 36f8a4a..11836dd 100755 --- a/util-vserver/scripts/vapt-get +++ b/util-vserver/scripts/vapt-get @@ -16,35 +16,33 @@ # 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 (the file '$UTIL_VSERVER_VARS' would be expected); aborting..." >&2 exit 1 } . "$UTIL_VSERVER_VARS" . "$_LIB_FUNCTIONS" + function showHelp() { - cat <* [--all] -- + - -Report bugs to <$PACKAGE_BUGREPORT>. -EOF + echo \ +$"Usage: $0 * [--all] -- + +Report bugs to <$PACKAGE_BUGREPORT>." exit $1 } function showVersion() { - cat <