X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Fscripts%2Fvapt-get;h=2c738537f8049996fed9034ecb99bed940d4937a;hb=4fc0d7c31dd9fb6bae2e77ba37d8a08ab26dd65c;hp=0f3b4fb9acfdf11a2761c801a949a58781f615a4;hpb=ee100003f9b57e70be2b46100ab536ad284603c6;p=util-vserver.git diff --git a/util-vserver/scripts/vapt-get b/util-vserver/scripts/vapt-get index 0f3b4fb..2c73853 100755 --- a/util-vserver/scripts/vapt-get +++ b/util-vserver/scripts/vapt-get @@ -16,7 +16,7 @@ # 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..." exit 1 @@ -24,27 +24,25 @@ test -e "$UTIL_VSERVER_VARS" || { . "$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 <