From: rhatto Date: Wed, 4 Apr 2007 14:21:11 +0000 (+0000) Subject: templatepkg: small fix X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=8d1cdf623292194d2397b503ad13ab740a3ce98c;p=simplepkg.git templatepkg: small fix git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@225 04377dda-e619-0410-9926-eae83683ac58 --- diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg index 43ccf13..9e7f3d3 100755 --- a/trunk/src/templatepkg +++ b/trunk/src/templatepkg @@ -166,6 +166,9 @@ function template_create { else mkdir -p `dirname $TEMPLATE_BASE` fi + else + echo $BASENAME: template `basename $TEMPLATE_BASE` already exists + exit 1 fi touch $TEMPLATE_BASE.perms