1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/baikal_ynh.git synced 2024-09-03 18:16:11 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2022-04-03 13:17:45 +02:00
parent ea2a45ef7b
commit a87e5ee3e8
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -151,24 +151,6 @@ then
ynh_add_config --template="../conf/baikal.yaml" --destination="$final_path/config/baikal.yaml"
chown $app: "$final_path/config/baikal.yaml"
chmod 640 "$final_path/config/baikal.yaml"
#=================================================
# UPGRADE BAIKAL
#=================================================
# ynh_script_progression --message="Upgrading Baïkal..."
# # Run Baikal upgrade
# php"${phpversion}" "${final_path}/bin/upgrade.sh"
# # Cleanup old baikal-admin sessions
# # since we may have changed owner of the session file
# grep --files-with-matches --recursive "CSRF_TOKEN|s:" /var/lib/php/sessions | xargs rm -f
# # Store the config file checksum into the app settings
# ynh_store_file_checksum --file="$bk_conf"
# # Remove checksums of old files
# ynh_delete_file_checksum --file="${final_path}/Specific/config.php"
# ynh_delete_file_checksum --file="${final_path}/Specific/config.system.php"
fi
#=================================================