diff options
Diffstat (limited to 'trunk/src/templatepkg')
-rwxr-xr-x | trunk/src/templatepkg | 2 |
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 |