diff --git a/README.md b/README.md index 8ffb05c..1130466 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ Galène is a videoconference server (an “SFU”) that is easy to deploy and th - built-in TURN server. -**Shipped version:** 0.6.1~ynh3 +**Shipped version:** 0.6.1~ynh4 **Demo:** https://galene.org:8443/ diff --git a/README_fr.md b/README_fr.md index e23b1fd..e5f85d8 100644 --- a/README_fr.md +++ b/README_fr.md @@ -27,7 +27,7 @@ Galène est un serveur de visioconférence (un « SFU ») facile à déployer et - détection d'activité -**Version incluse :** 0.6.1~ynh3 +**Version incluse :** 0.6.1~ynh4 **Démo :** https://galene.org:8443/ diff --git a/manifest.json b/manifest.json index 67bac02..25b4e8b 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Videoconferencing server that is easy to deploy", "fr": "Serveur de visioconférence facile à déployer" }, - "version": "0.6.1~ynh3", + "version": "0.6.1~ynh4", "url": "https://galene.org/", "upstream": { "license": "MIT", diff --git a/scripts/upgrade b/scripts/upgrade index 1fbf38b..bcc8364 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -126,18 +126,15 @@ ynh_system_user_create --username=$app --home_dir="$final_path" # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= -if [ "$upgrade_type" == "UPGRADE_APP" ] -then - ynh_script_progression --message="Upgrading source files..." --weight=2 +ynh_script_progression --message="Upgrading source files..." --weight=2 - ynh_setup_source --dest_dir="$final_path/build" - ynh_setup_source --dest_dir="$final_path/build_ldap" --source_id="ldap" - mkdir -p "$final_path/live/data" - mkdir -p "$final_path/live_ldap/data" - ynh_secure_remove --file="$final_path/live/static/" - cp -r "$final_path/build/static/" "$final_path/live/" - ynh_replace_string --match_string="
Galène
" --replace_string="
Galène
" --target_file="$final_path/live/static/galene.html" -fi +ynh_setup_source --dest_dir="$final_path/build" +ynh_setup_source --dest_dir="$final_path/build_ldap" --source_id="ldap" +mkdir -p "$final_path/live/data" +mkdir -p "$final_path/live_ldap/data" +ynh_secure_remove --file="$final_path/live/static/" +cp -r "$final_path/build/static/" "$final_path/live/" +ynh_replace_string --match_string="
Galène
" --replace_string="
Galène
" --target_file="$final_path/live/static/galene.html" chmod 750 "$final_path" chmod -R o-rwx "$final_path"