diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-05 20:28:12 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-05 20:28:12 +0000 |
commit | 1d2b1700b9d1bfca23d9115afe15e870327d94de (patch) | |
tree | 96756674f84cd0337012f4727965a622354ce9fd /trunk/src | |
parent | 99f1bfcd86daa3f0b01ba62c667f8b2c378690c4 (diff) | |
download | simplepkg-1d2b1700b9d1bfca23d9115afe15e870327d94de.tar.gz simplepkg-1d2b1700b9d1bfca23d9115afe15e870327d94de.tar.bz2 |
templatepkg: small fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@256 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src')
-rwxr-xr-x | trunk/src/templatepkg | 2 |
1 files changed, 1 insertions, 1 deletions
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 |