aboutsummaryrefslogtreecommitdiff
path: root/trunk/lib
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-05 17:26:41 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-05 17:26:41 +0000
commitbfbe48631bc5684680accd8c9f4d3e77d2437b6a (patch)
tree149fd7a0034cee1841e4a316ae026c524a502a22 /trunk/lib
parentd34646bc86241e85ac32e17ed833c8c8d65b9cb6 (diff)
downloadsimplepkg-bfbe48631bc5684680accd8c9f4d3e77d2437b6a.tar.gz
simplepkg-bfbe48631bc5684680accd8c9f4d3e77d2437b6a.tar.bz2
common.sh: small cosmetic changes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@248 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/lib')
-rw-r--r--trunk/lib/common.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh
index 807c8c9..d568854 100644
--- a/trunk/lib/common.sh
+++ b/trunk/lib/common.sh
@@ -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