aboutsummaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-06 20:19:37 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-06 20:19:37 +0000
commit40a0e14368d23967ef16ebf65730b03ac36e5399 (patch)
tree8b972dfef5edda0209cf29707f3b1c183461140b /trunk
parent533614ffc167d11237d0d4a0e2f07a490dffc3c7 (diff)
downloadsimplepkg-40a0e14368d23967ef16ebf65730b03ac36e5399.tar.gz
simplepkg-40a0e14368d23967ef16ebf65730b03ac36e5399.tar.bz2
jail-commit: small fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@298 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk')
-rwxr-xr-xtrunk/src/jail-commit2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/src/jail-commit b/trunk/src/jail-commit
index c336f95..c910c03 100755
--- a/trunk/src/jail-commit
+++ b/trunk/src/jail-commit
@@ -123,7 +123,7 @@ function do_commit {
fi
search_template $template --update
- if [ "$?" == "0" ] || ! echo $TEMPLATE_UPDATE_LIST | grep -q " `basename $TEMPLATE_BASE` "; then
+ if [ "$?" == "0" ] && ! echo $TEMPLATE_UPDATE_LIST | grep -q " `basename $TEMPLATE_BASE` "; then
TEMPLATE_UPDATE_LIST=" $TEMPLATE_UPDATE_LIST `basename $TEMPLATE_BASE` " # the spaces are important
if [ "$jailpath" == "/" ]; then
echo Updating main installation...