aboutsummaryrefslogtreecommitdiff
path: root/trunk/lib/common.sh
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-03 17:13:55 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-03 17:13:55 +0000
commit6ba7e185fde258f6040f16a2c4413352bc061fef (patch)
tree51c94428b0ae03701a42ff892a30b1382dbb7dfe /trunk/lib/common.sh
parent7c4a33fd95613c1959b790b19328ee9c472ef423 (diff)
downloadsimplepkg-6ba7e185fde258f6040f16a2c4413352bc061fef.tar.gz
simplepkg-6ba7e185fde258f6040f16a2c4413352bc061fef.tar.bz2
- lspkg: support for $ROOT env variable and some improvements
- CHANGELOG cleanup - mkjail: added support for slack-required as templates git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@211 04377dda-e619-0410-9926-eae83683ac58
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