diff options
-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 |