diff --git a/manifest.toml b/manifest.toml index 57b4785..2276d61 100644 --- a/manifest.toml +++ b/manifest.toml @@ -24,9 +24,9 @@ architectures = "all" multi_instance = false ldap = false sso = false -disk = "50M" # FIXME: replace with an **estimate** minimum disk requirement. e.g. 20M, 400M, 1G, ... -ram.build = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ... -ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ... +disk = "50M" +ram.build = "50M" +ram.runtime = "50M" [install] [install.domain] diff --git a/scripts/change_url b/scripts/change_url index c6af2bb..2e45e03 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -9,6 +9,8 @@ source _common.sh source /usr/share/yunohost/helpers +password=$(ynh_app_setting_get --app=$app --key=password) + #================================================= # STANDARD MODIFICATIONS #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 932e5e2..71e9cf3 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,6 +9,7 @@ source _common.sh source /usr/share/yunohost/helpers +password=$(ynh_app_setting_get --app=$app --key=password) #================================================= # CHECK VERSION @@ -30,14 +31,6 @@ if [ -z "$language_key" ]; then ynh_app_setting_delete --app=$app --key=language fi -# Create sharing permission if needed - if ! ynh_permission_exists --permission="sharing"; then - ynh_permission_create --permission="sharing" --url="/s" --allowed="visitors" --show_tile="false" --protected="true" -fi - - - - #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #=================================================