]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
templatepkg: small fix
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 4 Apr 2007 14:12:04 +0000 (14:12 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 4 Apr 2007 14:12:04 +0000 (14:12 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@224 04377dda-e619-0410-9926-eae83683ac58

trunk/src/templatepkg

index 8cc2bd6eb3a03f4f4d7bcd3d911962230dfbed4b..43ccf137026288bfe26f5347206987d168f9f182 100755 (executable)
@@ -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