aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-04 14:21:11 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-04 14:21:11 +0000
commit8d1cdf623292194d2397b503ad13ab740a3ce98c (patch)
tree6e88c4cc30b28e085516dcdb2bd08b51e184091c /trunk/src
parent5417f4836329a9430a4d781329d2f224cd5f8e87 (diff)
downloadsimplepkg-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-xtrunk/src/templatepkg3
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