diff --git a/README.md b/README.md index 68df812..fb5e227 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ The administrator of the Lufi instance you use will not be able to see what is i The encryption key part of the URL is a anchor (Cf. [Fragment Identifier](https://en.wikipedia.org/wiki/Fragment_identifier)), that means this part is only processed client-side and does not reach the server. :-) -**Shipped version:** 0.05.21~ynh2 +**Shipped version:** 0.07.0~ynh1 **Demo:** https://demo.lufi.io/ diff --git a/README_fr.md b/README_fr.md index bf5c7b7..eaee004 100644 --- a/README_fr.md +++ b/README_fr.md @@ -21,7 +21,7 @@ The administrator of the Lufi instance you use will not be able to see what is i The encryption key part of the URL is a anchor (Cf. [Fragment Identifier](https://en.wikipedia.org/wiki/Fragment_identifier)), that means this part is only processed client-side and does not reach the server. :-) -**Version incluse :** 0.05.21~ynh2 +**Version incluse :** 0.07.0~ynh1 **Démo :** https://demo.lufi.io/ diff --git a/manifest.toml b/manifest.toml index aafcf03..a1e41a3 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Lufi" description.en = "Files and sharing anonymous application" description.fr = "Application de partage de fichiers anonyme" -version = "0.05.21~ynh2" +version = "0.07.0~ynh1" maintainers = [ "frju365, cyp" ] @@ -48,8 +48,8 @@ ram.runtime = "50M" [resources] [resources.sources.main] - url = "https://framagit.org/fiat-tux/hat-softwares/lufi/-/archive/0.05.21/lufi-0.05.21.tar.gz" - sha256 = "a1da42688d82239a9441355ad0e1d773e24d0225edcdc463b425a5032133765a" + url = "https://framagit.org/fiat-tux/hat-softwares/lufi/-/archive/0.07.0/lufi-0.07.0.tar.bz2" + sha256 = "a4d9a960d3542198221926e8781709f4f40dbb2c873cab113013d8f0be101769" autoupdate.strategy = "latest_gitlab_release" [resources.ports] diff --git a/scripts/change_url b/scripts/change_url index 80fb431..3eee1ec 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -18,6 +18,11 @@ ynh_script_progression --message="Stopping a systemd service..." ynh_systemd_action --service_name=$app --action="stop" --log_path="$install_dir/log/production.log" +if [ -f "$install_dir/script/hypnotoad.pid" ]; then + ynh_print_info --message="Removing the PID file..." + ynh_secure_remove --file="$install_dir/script/hypnotoad.pid" +fi + #================================================= # MODIFY URL IN NGINX CONF #=================================================