aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-05 17:34:12 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-05 17:34:12 +0000
commitc7dcba5097452ffe9dfc16a63e56403132b6c444 (patch)
tree5a3f6f1bf9433ab39de1c3bc247607b74b69afd1
parent878bf833818bef5d0e05f2cf4cb69d471b13b6ef (diff)
downloadsimplepkg-c7dcba5097452ffe9dfc16a63e56403132b6c444.tar.gz
simplepkg-c7dcba5097452ffe9dfc16a63e56403132b6c444.tar.bz2
common.sh: small cosmetic changes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@250 04377dda-e619-0410-9926-eae83683ac58
-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