1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/invidious_ynh.git synced 2024-09-03 19:15:55 +02:00
This commit is contained in:
Éric Gaspar 2023-05-20 14:59:55 +02:00
parent 45ac33597f
commit 8b6a9f1faa
4 changed files with 2 additions and 8 deletions

View file

@ -295,9 +295,6 @@ captcha_enabled: __CAPTCHA_ENABLED__
## ##
admins: ["__ADMIN__"] admins: ["__ADMIN__"]
## Email provided to users for bug reports
admin_email: __EMAIL__
## ##
## Enable/Disable the user notifications for all users ## Enable/Disable the user notifications for all users
## ##
@ -780,7 +777,7 @@ default_user_preferences:
## Accepted values: dash, hd720, medium, small ## Accepted values: dash, hd720, medium, small
## Default: hd720 ## Default: hd720
## ##
quality: hd720 quality: dash
## ##
## Default dash video quality. ## Default dash video quality.

View file

@ -63,7 +63,7 @@ ram.runtime = "50M"
api.protected = true api.protected = true
[resources.apt] [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] [resources.database]
type = "postgresql" type = "postgresql"

View file

@ -14,7 +14,6 @@ source /usr/share/yunohost/helpers
#================================================= #=================================================
key=$(ynh_string_random --length=24) key=$(ynh_string_random --length=24)
email=$(ynh_user_get_info --username=$admin --key=mail)
registration_enabled="true" registration_enabled="true"
login_enabled="true" login_enabled="true"
captcha_enabled="true" captcha_enabled="true"
@ -24,7 +23,6 @@ captcha_enabled="true"
#================================================= #=================================================
ynh_script_progression --message="Storing installation settings..." --weight=2 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=registration_enabled --value=$registration_enabled
ynh_app_setting_set --app=$app --key=login_enabled --value=$login_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 ynh_app_setting_set --app=$app --key=captcha_enabled --value=$captcha_enabled

View file

@ -25,7 +25,6 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
ynh_restore_file --origin_path="$install_dir" ynh_restore_file --origin_path="$install_dir"
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"