diff --git a/check_process b/check_process index 1819cef..89ea880 100644 --- a/check_process +++ b/check_process @@ -18,6 +18,10 @@ upgrade=1 from_commit=aaae7fbe83ce001fabd40509882e765a5d8da2c1 # 0.6~ynh1 upgrade=1 from_commit=c5cc50f1b1f326080f4f657b7805f2c27c1c3f20 + # 0.6.1~ynh1 + upgrade=1 from_commit=f55a3d1990a0fb2fe17eb9b70aefb13337c2b623 + # 0.6.1~ynh2 + upgrade=1 from_commit=ed1506fa3eb56358fecb06d832c9684acbf682d9 backup_restore=1 multi_instance=0 port_already_use=0 diff --git a/manifest.json b/manifest.json index 1197b01..67bac02 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~ynh2", + "version": "0.6.1~ynh3", "url": "https://galene.org/", "upstream": { "license": "MIT", diff --git a/scripts/upgrade b/scripts/upgrade index 2f1d9a5..1fbf38b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -132,13 +132,13 @@ then 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 -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" chown -R $app:www-data "$final_path"