From 8b6a9f1faaddd2ade66489154efcfaf1d2ce1945 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 20 May 2023 14:59:55 +0200 Subject: [PATCH] cleaning --- conf/config.yml | 5 +---- manifest.toml | 2 +- scripts/install | 2 -- scripts/restore | 1 - 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/conf/config.yml b/conf/config.yml index 784fd37..82b32bf 100644 --- a/conf/config.yml +++ b/conf/config.yml @@ -295,9 +295,6 @@ captcha_enabled: __CAPTCHA_ENABLED__ ## admins: ["__ADMIN__"] -## Email provided to users for bug reports -admin_email: __EMAIL__ - ## ## Enable/Disable the user notifications for all users ## @@ -780,7 +777,7 @@ default_user_preferences: ## Accepted values: dash, hd720, medium, small ## Default: hd720 ## - quality: hd720 + quality: dash ## ## Default dash video quality. diff --git a/manifest.toml b/manifest.toml index 53180e0..cb7857d 100644 --- a/manifest.toml +++ b/manifest.toml @@ -63,7 +63,7 @@ ram.runtime = "50M" api.protected = true [resources.apt] - packages = "dialog apt-utils libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev libpcre3-dev" + packages = "libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev libpcre3-dev" [resources.database] type = "postgresql" diff --git a/scripts/install b/scripts/install index c29d424..c38fdfb 100644 --- a/scripts/install +++ b/scripts/install @@ -14,7 +14,6 @@ source /usr/share/yunohost/helpers #================================================= key=$(ynh_string_random --length=24) -email=$(ynh_user_get_info --username=$admin --key=mail) registration_enabled="true" login_enabled="true" captcha_enabled="true" @@ -24,7 +23,6 @@ captcha_enabled="true" #================================================= ynh_script_progression --message="Storing installation settings..." --weight=2 -ynh_app_setting_set --app=$app --key=email --value=$email ynh_app_setting_set --app=$app --key=registration_enabled --value=$registration_enabled ynh_app_setting_set --app=$app --key=login_enabled --value=$login_enabled ynh_app_setting_set --app=$app --key=captcha_enabled --value=$captcha_enabled diff --git a/scripts/restore b/scripts/restore index d97cae5..c970c8c 100644 --- a/scripts/restore +++ b/scripts/restore @@ -25,7 +25,6 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$install_dir" -chmod 750 "$install_dir" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir"