aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-06 04:17:24 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-06 04:17:24 +0000
commit26f66ec2c6b56593128cfe39809be7129f2c319c (patch)
tree590faadadc34eda9e966562877a8206b0dbb38f3 /trunk/src
parente8cdde49e084b103ca5ad749e5b22b8ea3c93630 (diff)
downloadsimplepkg-26f66ec2c6b56593128cfe39809be7129f2c319c.tar.gz
simplepkg-26f66ec2c6b56593128cfe39809be7129f2c319c.tar.bz2
small fixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@286 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src')
-rwxr-xr-xtrunk/src/jail-commit4
-rwxr-xr-xtrunk/src/templatepkg4
2 files changed, 8 insertions, 0 deletions
diff --git a/trunk/src/jail-commit b/trunk/src/jail-commit
index 61ba951..44e7ddf 100755
--- a/trunk/src/jail-commit
+++ b/trunk/src/jail-commit
@@ -82,6 +82,10 @@ function template_merge {
cat $TEMPLATE_BASE.perms.tmp | sed '/^$/d' > $TEMPLATE_BASE.perms
rm -f $TEMPLATE_BASE.perms.tmp
+ if ! svn_check $TEMPLATE_BASE,perms; then
+ svn add $TEMPLATE_BASE,perms
+ fi
+
}
function template_svn_commit {
diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg
index 96c1d70..da717a3 100755
--- a/trunk/src/templatepkg
+++ b/trunk/src/templatepkg
@@ -354,6 +354,10 @@ function template_update {
done
+ if ! svn_check $TEMPLATE_BASE.template; then
+ svn add $TEMPLATE_BASE.template
+ fi
+
}
function template_add {