From d52649062b3a8d310f664a1b5fc0ad0398ddfcf0 Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 4 Dec 2008 01:41:36 +0000 Subject: minor fixes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@638 04377dda-e619-0410-9926-eae83683ac58 --- trunk/conf/simplepkg.conf | 6 +++--- trunk/src/templatepkg | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/trunk/conf/simplepkg.conf b/trunk/conf/simplepkg.conf index 60c9ac7..586ddfe 100644 --- a/trunk/conf/simplepkg.conf +++ b/trunk/conf/simplepkg.conf @@ -22,7 +22,7 @@ TMP="/tmp" #--------------------------------------------------------------------- -# MKBUILD AND CREATEPKG SECTION +# MKBUILD AND CREATEPKG SECTION #--------------------------------------------------------------------- # Set SlackBuilds default directory for scripts @@ -186,11 +186,11 @@ CONSIDER_ALL_PACKAGES_AS_PATCHES="0" STORE_ROOT_PATCHES_ON_PATCHES_DIR="0" #--------------------------------------------------------------------- -# TEMPLATEPKG SECTION +# TEMPLATEPKG SECTION #--------------------------------------------------------------------- # Set to yes if your templates will be placed in a subversion repository -# This just work if TEMPLATE_STORAGE_STYLE is set to own-folder (default) +# This just work if TEMPLATE_STORAGE_STYLE is set to own-folder or compact. TEMPLATES_UNDER_SVN="no" # Where your templates will be located. diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg index 9fadd5e..6739795 100755 --- a/trunk/src/templatepkg +++ b/trunk/src/templatepkg @@ -681,7 +681,7 @@ function template_list { local list basedir template - if [ "$TEMPLATE_STORAGE_STYLE" != "own-folder" ] || \ + if [ "$TEMPLATE_STORAGE_STYLE" != "own-folder" ] && \ [ "$TEMPLATE_STORAGE_STYLE" != "compact" ]; then echo "$BASENAME: option only available if TEMPLATE_STORAGE_STYLE configured as 'own-folder' or 'compact'" return 1 -- cgit v1.2.3