diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-04 14:21:11 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-04 14:21:11 +0000 |
commit | 8d1cdf623292194d2397b503ad13ab740a3ce98c (patch) | |
tree | 6e88c4cc30b28e085516dcdb2bd08b51e184091c /trunk/src | |
parent | 5417f4836329a9430a4d781329d2f224cd5f8e87 (diff) | |
download | simplepkg-8d1cdf623292194d2397b503ad13ab740a3ce98c.tar.gz simplepkg-8d1cdf623292194d2397b503ad13ab740a3ce98c.tar.bz2 |
templatepkg: small fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@225 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src')
-rwxr-xr-x | trunk/src/templatepkg | 3 |
1 files changed, 3 insertions, 0 deletions
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 |