aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-04 15:19:49 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-04 15:19:49 +0000
commitb93c7fe0a6fcde1c3477351471e24cdfc5b5c9c1 (patch)
treea46c50b00313c6c7e758b9f6ae344b0b3b55ffcb /trunk/src
parent553614ea8a645029c61c80451d0def53bcf0a339 (diff)
downloadsimplepkg-b93c7fe0a6fcde1c3477351471e24cdfc5b5c9c1.tar.gz
simplepkg-b93c7fe0a6fcde1c3477351471e24cdfc5b5c9c1.tar.bz2
templatepkg: smal fix on --delete
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@229 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src')
-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