aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtrunk/src/templatepkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg
index bd6a5e4..1e037de 100755
--- a/trunk/src/templatepkg
+++ b/trunk/src/templatepkg
@@ -789,7 +789,7 @@ function create_doinst {
rm -f $1/doinst.sh
if [ -s "$TEMPLATE_BASE.perms" ]; then
- echo Setting jail $1 permissions...
+ echo Creating doinst.sh...
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
@@ -797,7 +797,7 @@ function create_doinst {
group="`echo $entry | cut -d ";" -f 3`"
perms="`echo $entry | cut -d ";" -f 4`"
echo "( chmod $perms /$file )" >> $1/doinst.sh
- chown "( $owner:$group /$file )" >> $1/doinst.sh
+ echo "( chown $owner:$group /$file )" >> $1/doinst.sh
fi
done
fi