From 790e231c71875ada0a202274b83d325b9070e5ac Mon Sep 17 00:00:00 2001 From: DDATAA <45762540+Ddataa@users.noreply.github.com> Date: Tue, 18 Oct 2022 09:17:59 +0000 Subject: [PATCH] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index d23178d..8f3c2b3 100644 --- a/scripts/install +++ b/scripts/install @@ -82,7 +82,7 @@ if ! yunohost app list | grep -q "id: cryptpad_sandboxing"; then ynh_die "The domain $sandboxdomain provided for Cryptpad Sandboxing App is already used by another app. Please chose another one !" fi public=public - if $YNH_APP_ARG_IS_PUBLIC; then + if [ $is_public -eq 1 ]; then yunohost app install https://github.com/YunoHost-Apps/cryptpad_sandboxing_ynh --force --args "domain=$sandboxdomain&is_$public=true" else yunohost app install https://github.com/YunoHost-Apps/cryptpad_sandboxing_ynh --force --args "domain=$sandboxdomain&is_$public=false"