From ee1b2882e0a5cd6f96451c378f101b1a31b93ee6 Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 4 Dec 2008 01:22:34 +0000 Subject: minor fixes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@637 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/templatepkg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'trunk/src') diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg index 2c8e367..9fadd5e 100755 --- a/trunk/src/templatepkg +++ b/trunk/src/templatepkg @@ -681,8 +681,9 @@ function template_list { local list basedir template - if [ "$TEMPLATE_STORAGE_STYLE" != "own-folder" ]; then - echo "$BASENAME: option only available if TEMPLATE_STORAGE_STYLE configured as '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 fi -- cgit v1.2.3