]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
common.sh: small cosmetic changes
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 5 Apr 2007 17:26:41 +0000 (17:26 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 5 Apr 2007 17:26:41 +0000 (17:26 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@248 04377dda-e619-0410-9926-eae83683ac58

trunk/lib/common.sh

index 807c8c9ac6e3df52c01bb9932b373f632fc7c4e9..d5688547ebcbdbfc2428490c312ba5ae613a663a 100644 (file)
@@ -460,7 +460,7 @@ function copy_template_files {
   # usage: copy_template_files <jail-path>
 
   if [ -d "$1" ]; then
-    echo "$BASENAME: copying template files..."
+    echo "Copying template files to $1..."
     if [ -d "$TEMPLATE_BASE.d" ]; then 
       if use_svn && [ -d "$TEMPLATE_BASE.d/.svn" ]; then
         svn update
@@ -479,6 +479,7 @@ function set_jail_perms {
   # usage: set_jail_perms <jail-path>
 
   if [ -s "$TEMPLATE_BASE.perms" ]; then
+    echo Setting jail $1 permissions...
     cat $TEMPLATE_BASE.perms | while read entry; do
       file="`echo $entry | cut -d ";" -f 1`"
       if [ -a "$TEMPLATE_BASE.d/$file" ] && [ -a "$1/$file" ]; then