From: rhatto Date: Wed, 4 Apr 2007 14:12:04 +0000 (+0000) Subject: templatepkg: small fix X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=5417f4836329a9430a4d781329d2f224cd5f8e87;p=simplepkg.git templatepkg: small fix git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@224 04377dda-e619-0410-9926-eae83683ac58 --- diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg index 8cc2bd6..43ccf13 100755 --- a/trunk/src/templatepkg +++ b/trunk/src/templatepkg @@ -213,7 +213,7 @@ function template_update { components="$TEMPLATE_BASE.template $TEMPLATE_BASE.perms $TEMPLATE_BASE.d $TEMPLATE_BASE.s" for component in $components; do - if [ ! -a "$component" ]; then + if [ ! -e "$component" ]; then echo $BASENAME: template component not found: $component echo $BASENAME: please run $BASENAME -c before update a template exit 1