X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Fscripts%2Fvapt-get;h=012c7fe65541b44a39d67b7156b6e614291affc7;hb=38110f6d60bf980dacdc73e02d9c5a43066aabf0;hp=0f3b4fb9acfdf11a2761c801a949a58781f615a4;hpb=ee100003f9b57e70be2b46100ab536ad284603c6;p=util-vserver.git diff --git a/util-vserver/scripts/vapt-get b/util-vserver/scripts/vapt-get index 0f3b4fb..012c7fe 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; 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 <