From f09d3d4133a09b3590a5f7ffb3c21caf46093e95 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Fri, 25 Oct 2019 16:20:30 +0200 Subject: [PATCH] chg: [nextcloud] don't auto-generate password and require password to be set. --- nextcloud/hooks/init | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nextcloud/hooks/init b/nextcloud/hooks/init index 84a4487..bb15658 100755 --- a/nextcloud/hooks/init +++ b/nextcloud/hooks/init @@ -20,7 +20,9 @@ admin_user=$(options-get admin.user 2>&1) || { } admin_password=$(options-get admin.password 2>&1) || { - admin_password="$(gen_password)" + err "Please specify an ${WHITE}admin.password${NORMAL} option" \ + "in ${DARKYELLOW}$SERVICE_NAME${NORMAL} service." + exit 1 }