diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-05 18:54:11 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-05 18:54:11 +0000 |
commit | 586b4aa194d17d337a0c552dbf273e282a7550bf (patch) | |
tree | a6720804cd2d9cb2ef92ba040881620deff6de15 /trunk/src | |
parent | bc54da28ef5d0d6fa89952bdf80f46d6ba2bb307 (diff) | |
download | simplepkg-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-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 |