diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-05 17:20:49 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-05 17:20:49 +0000 |
commit | e6bdbbf9c8194584c8cbc413fc6f41f4e4ec2b30 (patch) | |
tree | 9375a38773918d2b4d1ee969c12322d0eda25c07 /trunk/src | |
parent | 76941b67c4039a85c49e9b29aa033cfc176e835c (diff) | |
download | simplepkg-e6bdbbf9c8194584c8cbc413fc6f41f4e4ec2b30.tar.gz simplepkg-e6bdbbf9c8194584c8cbc413fc6f41f4e4ec2b30.tar.bz2 |
common.sh: small changes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@246 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src')
-rwxr-xr-x | trunk/src/jail-update | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/trunk/src/jail-update b/trunk/src/jail-update index 471591b..4a557f3 100755 --- a/trunk/src/jail-update +++ b/trunk/src/jail-update @@ -21,6 +21,7 @@ BASENAME="`basename $0`" if [ -f "$COMMON" ]; then source $COMMON + eval_config $BASENAME else echo "error: file $COMMON found, check your $BASENAME installation" exit 1 @@ -44,9 +45,10 @@ else template_name="$2" fi -search_template `basename $1` --update +search_template $template_name --update if [ "$?" != "0" ]; then + echo $BASENAME: template $template_name not found exit 1 fi |