From 4a79f818f6a77a655199332ef0a7d787d07759cc Mon Sep 17 00:00:00 2001 From: rhatto Date: Sat, 7 Apr 2007 18:14:39 +0000 Subject: lots of changes, se file doc/CHANGELOG for info git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@303 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/jail-commit | 2 +- trunk/src/templatepkg | 317 ++++++++++++++++++++++++++++++++++++-------------- 2 files changed, 232 insertions(+), 87 deletions(-) (limited to 'trunk/src') diff --git a/trunk/src/jail-commit b/trunk/src/jail-commit index 84748aa..50bc6ae 100755 --- a/trunk/src/jail-commit +++ b/trunk/src/jail-commit @@ -131,7 +131,7 @@ function do_commit { echo Updating $jailpath... fi if [ -d "$TEMPLATE_BASE.d" ] || [ -a "$TEMPLATE_BASE.template" ]; then - templatepkg -u $template $jailpath + SILENT=yes templatepkg -u $template $jailpath template_merge $jailpath fi fi diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg index df6467f..6a3b57d 100755 --- a/trunk/src/templatepkg +++ b/trunk/src/templatepkg @@ -28,67 +28,115 @@ else exit 1 fi -function usage { +function usage_summary { - echo "usage: $BASENAME