diff options
-rwxr-xr-x | trunk/src/templatepkg | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg index ab43bf7..e73e063 100755 --- a/trunk/src/templatepkg +++ b/trunk/src/templatepkg @@ -488,7 +488,10 @@ function slash { # main # ----------------------------------------------------- -search_template $2 --new +if [ ! -z "$2" ]; then + search_template $2 --new +fi + TEMPLATE="$TEMPLATE_BASE.template" if [ "$1" == "-u" ] || [ "$1" == "--update" ]; then |