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-04 00:15:42 +0300
committerGitHub <noreply@github.com>2020-09-04 00:15:42 +0300
commit80dc7b6293f260f6261a6757ead1cfe717fa5ed6 (patch)
treeb68160380e4b6d485125461b815c73ceecdfdb28 /static/adduser.sh
parent2ac3755ad10356ea17dc3c49e0aa1a49d2de8a31 (diff)
substitute ask_yes_or_no through yesno_box (#1401)
Diffstat (limited to 'static/adduser.sh')
-rw-r--r--static/adduser.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/adduser.sh b/static/adduser.sh
index 2e58ca8a..39f553d1 100644
--- a/static/adduser.sh
+++ b/static/adduser.sh
@@ -21,7 +21,7 @@ It's possible to install with root, but there will be minor errors.
Please create a user with sudo permissions if you want an optimal installation.
The preferred user is 'ncadmin'."
- if [[ "no" == $(ask_yes_or_no "Do you want to create a new user?") ]]
+ if ! yesno_box "Do you want to create a new user?"
then
print_text_in_color "$ICyan" "Not adding another user..."
sleep 1