aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/templatepkg
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/templatepkg')
-rwxr-xr-xtrunk/src/templatepkg2
1 files changed, 1 insertions, 1 deletions
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