1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dolibarr_ynh.git synced 2024-09-03 18:35:53 +02:00

Change charset before upgrade

This commit is contained in:
mastereur 2023-06-02 08:57:22 +02:00 committed by GitHub
parent e1e1614605
commit f895da52cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -204,9 +204,6 @@ SOURCE_IN_SUBDIR=true
EOF
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path"
chown -R $app: "$final_path"
# Remove the lock if it exists
@ -239,6 +236,9 @@ EOF
ynh_exec_fully_quiet sleep 5
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path"
pushd $final_path/htdocs/install/
if php$phpversion upgrade.php $current_version $next_version > /var/log/$app/upgrade.html; then