aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtrunk/simplepkg.SlackBuild2
-rwxr-xr-xtrunk/src/jail-commit4
2 files changed, 3 insertions, 3 deletions
diff --git a/trunk/simplepkg.SlackBuild b/trunk/simplepkg.SlackBuild
index bbd6ced..ee79b1c 100755
--- a/trunk/simplepkg.SlackBuild
+++ b/trunk/simplepkg.SlackBuild
@@ -6,7 +6,7 @@
PACKAGE="simplepkg"
PACK_DIR="package-$PACKAGE"
BUILD=${BUILD:=1rha}
-VERSION="0.5pre2"
+VERSION="0.5pre3"
ARCH="noarch"
LIBEXEC="/usr/libexec/$PACKAGE"
BINDIR="/usr/bin"
diff --git a/trunk/src/jail-commit b/trunk/src/jail-commit
index b17a529..573e0c0 100755
--- a/trunk/src/jail-commit
+++ b/trunk/src/jail-commit
@@ -123,8 +123,8 @@ function do_commit {
fi
search_template $template --update
- if [ "$?" == "0" ] || ! echo $TEMPLATE_UPDATE_LIST | grep -q " `dirname $TEMPLATE_BASE` "; then
- TEMPLATE_UPDATE_LIST="$TEMPLATE_UPDATE_LIST `dirname $TEMPLATE_BASE` " # the end space is important
+ if [ "$?" == "0" ] || ! echo $TEMPLATE_UPDATE_LIST | grep -q " `basename $TEMPLATE_BASE` "; then
+ TEMPLATE_UPDATE_LIST="$TEMPLATE_UPDATE_LIST `basename $TEMPLATE_BASE` " # the end space is important
if [ "$jailpath" == "/" ]; then
echo Updating main installation...
else