aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
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