mirror of
https://github.com/YunoHost-Apps/galene_ynh.git
synced 2024-09-03 18:36:31 +02:00
Fix upgrade from 0.6.1~ynh1
This commit is contained in:
parent
841c0f0808
commit
5e0fb37090
3 changed files with 10 additions and 6 deletions
|
@ -18,6 +18,10 @@
|
||||||
upgrade=1 from_commit=aaae7fbe83ce001fabd40509882e765a5d8da2c1
|
upgrade=1 from_commit=aaae7fbe83ce001fabd40509882e765a5d8da2c1
|
||||||
# 0.6~ynh1
|
# 0.6~ynh1
|
||||||
upgrade=1 from_commit=c5cc50f1b1f326080f4f657b7805f2c27c1c3f20
|
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
|
backup_restore=1
|
||||||
multi_instance=0
|
multi_instance=0
|
||||||
port_already_use=0
|
port_already_use=0
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Videoconferencing server that is easy to deploy",
|
"en": "Videoconferencing server that is easy to deploy",
|
||||||
"fr": "Serveur de visioconférence facile à déployer"
|
"fr": "Serveur de visioconférence facile à déployer"
|
||||||
},
|
},
|
||||||
"version": "0.6.1~ynh2",
|
"version": "0.6.1~ynh3",
|
||||||
"url": "https://galene.org/",
|
"url": "https://galene.org/",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -132,13 +132,13 @@ then
|
||||||
|
|
||||||
ynh_setup_source --dest_dir="$final_path/build"
|
ynh_setup_source --dest_dir="$final_path/build"
|
||||||
ynh_setup_source --dest_dir="$final_path/build_ldap" --source_id="ldap"
|
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="<div class=\"galene-header\">Galène</div>" --replace_string="<div class=\"galene-header\" onclick=\"location.href=window.location.origin\" style=\"cursor:pointer\">Galène</div>" --target_file="$final_path/live/static/galene.html"
|
||||||
fi
|
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="<div class=\"galene-header\">Galène</div>" --replace_string="<div class=\"galene-header\" onclick=\"location.href=window.location.origin\" style=\"cursor:pointer\">Galène</div>" --target_file="$final_path/live/static/galene.html"
|
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
chmod -R o-rwx "$final_path"
|
chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:www-data "$final_path"
|
chown -R $app:www-data "$final_path"
|
||||||
|
|
Loading…
Reference in a new issue