diff options
author | szaimen <42591237+szaimen@users.noreply.github.com> | 2020-02-22 13:47:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-22 13:47:29 +0300 |
commit | 1880c96f4cf53048b094167805e7839640822d3e (patch) | |
tree | 0d0e42d0759f5e49a456af7deac782b0448767a3 /apps/previewgenerator.sh | |
parent | d40b0559595dac94649df2d9af679a1aa4da49b0 (diff) |
create function is_app_enabled (#1100)
Co-authored-by: Daniel Hansson <github@hanssonit.se>
Diffstat (limited to 'apps/previewgenerator.sh')
-rw-r--r-- | apps/previewgenerator.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/previewgenerator.sh b/apps/previewgenerator.sh index 5a301357..7e930de4 100644 --- a/apps/previewgenerator.sh +++ b/apps/previewgenerator.sh @@ -28,7 +28,7 @@ then fi # Encryption may not be enabled -if [ -n "$(occ_command app:list | grep encryption | awk '{print $3}')" ] +if is_app_enabled encryption then msg_box "It seems like you have encryption enabled which is unsupported when using the Preview Generator" exit |