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

Use --full_replace=1 for ynh_setup_source

This commit is contained in:
Salamandar 2024-03-25 11:11:40 +01:00 committed by Salamandar
parent 2e3c43ecb1
commit bedcd90f9c

View file

@ -5,7 +5,8 @@
#================================================= #=================================================
upgrade_dolibarr() { upgrade_dolibarr() {
ynh_setup_source --source_id="$source_id" --dest_dir="$install_dir" ynh_setup_source --source_id="$source_id" --dest_dir="$install_dir" --full_replace=1 \
--keep="htdocs/conf/conf.php htdocs/install/install.forced.php"
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
chown -R "$app:www-data" "$install_dir" chown -R "$app:www-data" "$install_dir"