aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/templatepkg
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-06 04:45:23 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-06 04:45:23 +0000
commit9abb526d0c1b359084b028161b881bd894c53877 (patch)
treebb3c5cf0c96220ad67448418b7000e1520aa6f56 /trunk/src/templatepkg
parent016b7fe6722b9853f4fb7e2aaa185907d39678de (diff)
downloadsimplepkg-9abb526d0c1b359084b028161b881bd894c53877.tar.gz
simplepkg-9abb526d0c1b359084b028161b881bd894c53877.tar.bz2
jail-commit: now using just one commit per run
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@289 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src/templatepkg')
-rwxr-xr-xtrunk/src/templatepkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg
index da717a3..c218638 100755
--- a/trunk/src/templatepkg
+++ b/trunk/src/templatepkg
@@ -480,7 +480,7 @@ function template_delete {
# delete a file from a template
# usage: template_delete <file>
- if [ -a "$TEMPLATE_BASE.d/$1" ]; then
+ if [ -e "$TEMPLATE_BASE.d/$1" ]; then
if use_svn && [ -d "$TEMPLATE_BASE.d/.svn" ]; then
cd $TEMPLATE_BASE.d
svn del --force ./$1 || rm -rf ./$1