aboutsummaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-07 19:07:31 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-07 19:07:31 +0000
commit18ce310e36d7a7ddebbcb639fc86055c59c8cab2 (patch)
tree0625dd2416e837c3acc90a2950d2dcad1d3c4dde /trunk
parenta160d37a479d829e61b2871d5cc7bfde89bddaae (diff)
downloadsimplepkg-18ce310e36d7a7ddebbcb639fc86055c59c8cab2.tar.gz
simplepkg-18ce310e36d7a7ddebbcb639fc86055c59c8cab2.tar.bz2
templatepkg: small fixes on package_template and create_doinst
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@313 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk')
-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