aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtrunk/src/templatepkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg
index b1a7611..1bf3a99 100755
--- a/trunk/src/templatepkg
+++ b/trunk/src/templatepkg
@@ -401,7 +401,7 @@ elif [ "$1" == "-d" ] || [ "$1" == "--delete" ]; then
else
if [ -a "$TEMPLATE_BASE.d/$3" ]; then
- if use_svn; then
+ if use_svn && [ -d "$TEMPLATE_BASE.d/.svn" ]; then
cd $TEMPLATE_BASE.d
svn del --force ./$3 || rm -rf ./$3
echo $BASENAME: please run jail-commit to del $3 in the svn repository