. "$UTIL_VSERVER_VARS"
. "$_LIB_FUNCTIONS"
+
function showHelp()
{
- cat <<EOF
-Usage: $0 <vserver-name>* [--all] -- <params>+
-
-Report bugs to <$PACKAGE_BUGREPORT>.
-EOF
+ echo \
+$"Usage: $0 <vserver-name>* [--all] -- <params>+
+Report bugs to <$PACKAGE_BUGREPORT>."
exit $1
}
function showVersion()
{
- cat <<EOF
-vapt-get $PACKAGE_VERSION -- apt-get for vservers
+ echo \
+$"vapt-get $PACKAGE_VERSION -- apt-get for vservers
This program is part of $PACKAGE_STRING
Copyright (C) 2003 Enrico Scholz
This program is free software; you may redistribute it under the terms of
-the GNU General Public License. This program has absolutely no warranty.
-EOF
+the GNU General Public License. This program has absolutely no warranty."
exit $1
}
res=255
for i in "${vservers[@]}"; do
cnt=$[ cnt + 1 ]
- _APT_GET=apt-get \
"$_NEW_NAMESPACE" "$_VAPT_GET_WORKER" "$i" "$@"
res=$?
done