diff --git a/README.md b/README.md index de3d6e0..a484289 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ In addition to constituting an advantage in terms of confidentiality (the data d - Ability to subscribe to channels without creating a Google account -**Shipped version:** 12.06.23~ynh1 +**Shipped version:** 02.08.23~ynh1 **Demo:** https://invidious.site/ diff --git a/README_fr.md b/README_fr.md index 503120a..8dd3249 100644 --- a/README_fr.md +++ b/README_fr.md @@ -26,7 +26,7 @@ En plus de constituer un avantage sur le plan de la confidentialité (les donné - Possibilité d'afficher les commentaires Reddit plutôt que les commentaires YouTube, - Possibilité de s'abonner aux chaines sans créer de compte Google -**Version incluse :** 12.06.23~ynh1 +**Version incluse :** 02.08.23~ynh1 **Démo :** https://invidious.site/ diff --git a/manifest.toml b/manifest.toml index bf08190..5ec710a 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Invidious" description.en = "Alternative front-end to YouTube" description.fr = "Front-end alternatif à YouTube" -version = "12.06.23~ynh1" +version = "02.08.23~ynh1" maintainers = ["eric_G"] @@ -17,7 +17,7 @@ code = "https://github.com/iv-org/invidious" website = "https://invidio.us/" [integration] -yunohost = ">= 11.1.20" +yunohost = ">= 11.2" architectures = ["amd64"] multi_instance = false ldap = false diff --git a/scripts/_common.sh b/scripts/_common.sh index 3f8056f..45945b6 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -version_commit=e6f5fcbc4b7eab7bdeee1a1d2586334f34f50af7 +version_commit=d956b1826e15da6cfcd9a1531b0f1e6ef577dd10 #================================================= # PERSONAL HELPERS diff --git a/scripts/change_url b/scripts/change_url index 5cb0552..e30a460 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -34,6 +34,16 @@ ynh_script_progression --message="Updating NGINX web server configuration..." -- ynh_change_url_nginx_config +#================================================= +# MODIFY A CONFIG FILE +#================================================= +ynh_script_progression --message="Modifying a config file..." --weight=1 + +ynh_add_config --template="../conf/config.yml" --destination="$install_dir/config/config.yml" + +chmod 600 $install_dir/config/config.yml +chown $app:$app "$install_dir/config/config.yml" + #================================================= # GENERIC FINALISATION #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 0f14b2d..0b2d7f4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -94,9 +94,10 @@ yunohost service add $app --description="Invidious is an alternative front-end t #================================================= # MODIFY A CONFIG FILE #================================================= -ynh_script_progression --message="Modifying a config file..." +ynh_script_progression --message="Modifying a config file..." --weight=1 ynh_add_config --template="../conf/config.yml" --destination="$install_dir/config/config.yml" + chmod 600 $install_dir/config/config.yml chown $app:$app "$install_dir/config/config.yml"