Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorszaimen <szaimen@e.mail.de>2020-09-07 12:44:43 +0300
committerGitHub <noreply@github.com>2020-09-07 12:44:43 +0300
commitcbc20d1881f1341db2b8b231b83acfdc611278bb (patch)
tree44d651ff11712337e04c1aef8bb917ca4255f875 /apps/previewgenerator.sh
parent3c8d188cac631068556ea9ca2156a342bffab4f0 (diff)
add yesno_box_no and yesno_box_yes (#1409)
Co-authored-by: Daniel Hansson <github@hanssonit.se>
Diffstat (limited to 'apps/previewgenerator.sh')
-rw-r--r--apps/previewgenerator.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/previewgenerator.sh b/apps/previewgenerator.sh
index 17d5d44e..cae8308b 100644
--- a/apps/previewgenerator.sh
+++ b/apps/previewgenerator.sh
@@ -40,7 +40,7 @@ msg_box "This script will install the Preview Generator.
It can speedup the loading of previews in Nextcloud a lot.
Please note: If you continue, all your current Preview Generator settings will be lost, if any."
-if yesno_box "Do you want to install the Preview Generator?"
+if yesno_box_yes "Do you want to install the Preview Generator?"
then
# Install preview generator
print_text_in_color "$ICyan" "Installing the Preview Generator..."
@@ -89,7 +89,7 @@ Imagick will put your server at risk as it's is known to have several flaws.
You can check this issue to understand why: https://github.com/nextcloud/vm/issues/743
Please note: If you choose not to install imagick, it will get removed now."
-if yesno_box "Do you want to install imagick?"
+if yesno_box_yes "Do you want to install imagick?"
then
# Install imagick
install_if_not php-imagick
@@ -214,7 +214,7 @@ msg_box "In the last step you can define a specific Nextcloud user for which wil
The default behaviour (just hit [ENTER]) is to run with the system user 'www-data' which will generate previews for all users.
If you on the other hand choose to use a specific user, previews will ONLY be generated for that specific user."
-if ! yesno_box "Do you want to choose a specific Nextcloud user to generate previews?"
+if ! yesno_box_no "Do you want to choose a specific Nextcloud user to generate previews?"
then
print_text_in_color "$ICyan" "Using www-data (all Nextcloud users) for generating previews..."
# Add crontab for www-data