]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
templatepkg: smal fix on --delete
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 4 Apr 2007 15:19:49 +0000 (15:19 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 4 Apr 2007 15:19:49 +0000 (15:19 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@229 04377dda-e619-0410-9926-eae83683ac58

trunk/src/templatepkg

index b1a76115587a5d330b2ddbe606bcc56f5d64ed4b..1bf3a99e5370d66161adb6d13ee829794d97489b 100755 (executable)
@@ -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