aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-12-04 01:22:34 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-12-04 01:22:34 +0000
commitee1b2882e0a5cd6f96451c378f101b1a31b93ee6 (patch)
treebfe562b7037c2455e36ec522e1d4ab00fd81cff8 /trunk/src
parente8fdc3eca967f4fa614f0c1766cadcb3db04a295 (diff)
downloadsimplepkg-ee1b2882e0a5cd6f96451c378f101b1a31b93ee6.tar.gz
simplepkg-ee1b2882e0a5cd6f96451c378f101b1a31b93ee6.tar.bz2
minor fixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@637 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src')
-rwxr-xr-xtrunk/src/templatepkg5
1 files changed, 3 insertions, 2 deletions
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