From c7dcba5097452ffe9dfc16a63e56403132b6c444 Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 5 Apr 2007 17:34:12 +0000 Subject: common.sh: small cosmetic changes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@250 04377dda-e619-0410-9926-eae83683ac58 --- trunk/lib/common.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'trunk') 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 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 -- cgit v1.2.3