From fd5bca6e9f20c3d7d19d279a480de17c9f150974 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 18 Mar 2023 20:10:07 +0100 Subject: [PATCH] Revert "Update install" This reverts commit 1f146a0e3007818dd02994d56e078b5585c1563a. --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index f8dd7df..c1be818 100644 --- a/scripts/install +++ b/scripts/install @@ -116,7 +116,7 @@ hash=$(echo -n "${password}${admin}${salt}" | sha1sum | awk '{print $1}') secret=$(php${YNH_PHP_VERSION} -r "echo str_shuffle(substr(hash_hmac('sha512', uniqid('${salt}'), '${admin}'), 10, 12));") # Set default_private_links. By default, make them public if the app is public. -if ynh_permission_has_user --permission=main --user=visitors +if [ $is_public -eq 1 ] then default_private_links=false else