From 9fd9f2355cbfc030d16c5ca24433a87c88889637 Mon Sep 17 00:00:00 2001 From: rhatto Date: Tue, 3 Apr 2007 22:19:09 +0000 Subject: - 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 --- trunk/src/jail-commit | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'trunk/src/jail-commit') 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 -- cgit v1.2.3