]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
templatepkg: small fix
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 5 Apr 2007 18:54:11 +0000 (18:54 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 5 Apr 2007 18:54:11 +0000 (18:54 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@254 04377dda-e619-0410-9926-eae83683ac58

trunk/src/templatepkg

index ab43bf7b2cb5a1b8221ffad1b6b04e19b18b9ca9..e73e063bd731f878dc95fa88f822e888b0679b09 100755 (executable)
@@ -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