diff options
Diffstat (limited to 'trunk/src/templatepkg')
-rwxr-xr-x | trunk/src/templatepkg | 5 |
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 |