From 586b4aa194d17d337a0c552dbf273e282a7550bf Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 5 Apr 2007 18:54:11 +0000 Subject: templatepkg: small fix git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@254 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/templatepkg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'trunk/src') 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 -- cgit v1.2.3