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:
parent
2e3c43ecb1
commit
bedcd90f9c
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,8 @@
|
|||
#=================================================
|
||||
|
||||
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"
|
||||
chown -R "$app:www-data" "$install_dir"
|
||||
|
||||
|
|
Loading…
Reference in a new issue