From 5417f4836329a9430a4d781329d2f224cd5f8e87 Mon Sep 17 00:00:00 2001 From: rhatto Date: Wed, 4 Apr 2007 14:12:04 +0000 Subject: templatepkg: small fix git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@224 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/templatepkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trunk') 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 -- cgit v1.2.3