aboutsummaryrefslogtreecommitdiff
path: root/trunk/lib
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/lib')
-rw-r--r--trunk/lib/common.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh
index d7e1b95..0d06f5e 100644
--- a/trunk/lib/common.sh
+++ b/trunk/lib/common.sh
@@ -460,12 +460,14 @@ function copy_template_files {
# usage: copy_template_files <jail-path>
if [ -d "$1" ]; then
- echo "Copying template files to $1..."
if [ -d "$TEMPLATE_BASE.d" ]; then
if use_svn && [ -d "$TEMPLATE_BASE.d/.svn" ]; then
+ echo Checking out last revision from svn...
svn update
+ echo "Copying template files to $1..."
rsync -av --exclude=.svn $TEMPLATE_BASE.d/ $1/
else
+ echo "Copying template files to $1..."
rsync -av $TEMPLATE_BASE.d/ $1/
fi
fi