mirror of
https://github.com/YunoHost-Apps/flood_ynh.git
synced 2024-09-03 18:36:20 +02:00
Merge pull request #13 from YunoHost-Apps/upgrade_full_replace
[autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1
This commit is contained in:
commit
fb2c71f729
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ chown -R $app:www-data "$data_dir"
|
|||
ynh_script_progression --message="Reinstalling dependencies..."
|
||||
|
||||
tmpdir="$(mktemp -d)"
|
||||
ynh_setup_source --dest_dir="$tmpdir"
|
||||
ynh_setup_source --dest_dir="$tmpdir" --full_replace=1
|
||||
dpkg -i $tmpdir/flood-linux.deb
|
||||
ynh_secure_remove --file="$tmpdir"
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ ynh_add_nginx_config
|
|||
ynh_script_progression --message="Upgrading dependencies..."
|
||||
|
||||
tmpdir="$(mktemp -d)"
|
||||
ynh_setup_source --dest_dir="$tmpdir"
|
||||
ynh_setup_source --dest_dir="$tmpdir" --full_replace=1
|
||||
dpkg -i $tmpdir/flood-linux.deb
|
||||
ynh_secure_remove --file="$tmpdir"
|
||||
|
||||
|
|
Loading…
Reference in a new issue