1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/invidious_ynh.git synced 2024-09-03 19:15:55 +02:00

Merge branch 'testing' into SQL

This commit is contained in:
Éric Gaspar 2023-05-20 15:23:23 +02:00
commit de61b94408
3 changed files with 1 additions and 7 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

@ -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"