aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-05 18:54:11 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-05 18:54:11 +0000
commit586b4aa194d17d337a0c552dbf273e282a7550bf (patch)
treea6720804cd2d9cb2ef92ba040881620deff6de15 /trunk/src
parentbc54da28ef5d0d6fa89952bdf80f46d6ba2bb307 (diff)
downloadsimplepkg-586b4aa194d17d337a0c552dbf273e282a7550bf.tar.gz
simplepkg-586b4aa194d17d337a0c552dbf273e282a7550bf.tar.bz2
templatepkg: small fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@254 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src')
-rwxr-xr-xtrunk/src/templatepkg5
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