aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
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 {