From: rhatto Date: Thu, 5 Apr 2007 20:28:12 +0000 (+0000) Subject: templatepkg: small fix X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=1d2b1700b9d1bfca23d9115afe15e870327d94de;p=simplepkg.git templatepkg: small fix git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@256 04377dda-e619-0410-9926-eae83683ac58 --- diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg index 0c05fd9..3d534cd 100755 --- a/trunk/src/templatepkg +++ b/trunk/src/templatepkg @@ -212,7 +212,7 @@ function template_create { mkdir $TEMPLATE_BASE.{d,s} fi - if [ -d "$ROOT" ]; then + if [ -d "/$ROOT" ]; then template_update elif [ ! -z "$ROOT" ]; then