X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Fscripts%2Fvapt-get;h=2c738537f8049996fed9034ecb99bed940d4937a;hb=9aa4164f68b34f283ff8878de3d6a5b9ea4faea6;hp=36f8a4afa4fa360549a212622da3be491a23f49f;hpb=416c3b76d5d3c68f5a606fe110d157e5d8cf7386;p=util-vserver.git diff --git a/util-vserver/scripts/vapt-get b/util-vserver/scripts/vapt-get index 36f8a4a..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 <