]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
templatepkg: small fix
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 4 Apr 2007 14:21:11 +0000 (14:21 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 4 Apr 2007 14:21:11 +0000 (14:21 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@225 04377dda-e619-0410-9926-eae83683ac58

trunk/src/templatepkg

index 43ccf137026288bfe26f5347206987d168f9f182..9e7f3d3f6824fc5641559de5f5cb5c1fed362286 100755 (executable)
@@ -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