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