aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/jail-commit
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-03 22:19:09 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-03 22:19:09 +0000
commit9fd9f2355cbfc030d16c5ca24433a87c88889637 (patch)
tree915462474ad44d71642517e0e032673b1a89053f /trunk/src/jail-commit
parent6ba7e185fde258f6040f16a2c4413352bc061fef (diff)
downloadsimplepkg-9fd9f2355cbfc030d16c5ca24433a87c88889637.tar.gz
simplepkg-9fd9f2355cbfc030d16c5ca24433a87c88889637.tar.bz2
- jail-commit warning for file not found
- repos: cosmetic changes - templatepkg: now supports a tagfile or slack-required as a template git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@212 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src/jail-commit')
-rwxr-xr-xtrunk/src/jail-commit6
1 files changed, 6 insertions, 0 deletions
diff --git a/trunk/src/jail-commit b/trunk/src/jail-commit
index 59fccad..45aea1e 100755
--- a/trunk/src/jail-commit
+++ b/trunk/src/jail-commit
@@ -56,6 +56,12 @@ function template_merge {
owner="`get_owner $1/$file`"
group="`get_group $1/$file`"
echo "$file;$owner;$group;$perms" >> $TEMPLATE_BASE.perms
+ else
+ if [ ! -f "$file" ]; then
+ echo $BASENAME: warning: missing file $file
+ else
+ echo $BASENAME: warning: missing template file $1/$file
+ fi
fi
done