aboutsummaryrefslogtreecommitdiff
path: root/trunk/lib/common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/lib/common.sh')
-rw-r--r--trunk/lib/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh
index 38e9468..e2dfa6a 100644
--- a/trunk/lib/common.sh
+++ b/trunk/lib/common.sh
@@ -105,7 +105,7 @@ function install_packages {
root="$JAIL_ROOT/$server"
# now tries to install each package listed in the template
- for pack in `cat $TEMPLATE | grep -v -e "^#" | cut -d : -f 1`; do
+ for pack in `cat $TEMPLATE | grep -v -e "^#" | cut -d : -f 1 | awk '{ print $1 }'`; do
# try to install the package
ROOT=/$root ARCH=$ARCH VERSION=$VERSION $SIMPLARET --install $pack --skip-checks