From: rhatto Date: Thu, 5 Apr 2007 17:34:12 +0000 (+0000) Subject: common.sh: small cosmetic changes X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=c7dcba5097452ffe9dfc16a63e56403132b6c444;p=simplepkg.git common.sh: small cosmetic changes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@250 04377dda-e619-0410-9926-eae83683ac58 --- 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