mirror of
https://github.com/YunoHost-Apps/gitlab_ynh.git
synced 2024-09-03 18:36:35 +02:00
[autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1
This commit is contained in:
parent
73de11600b
commit
80377e56c5
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ ynh_add_config --template="$YNH_APP_BASEDIR/conf/$architecture.src.default" --de
|
|||
|
||||
tempdir="$(mktemp -d)"
|
||||
|
||||
ynh_setup_source --dest_dir=$tempdir --source_id=$architecture
|
||||
ynh_setup_source --dest_dir=$tempdir --source_id=$architecture --full_replace=1
|
||||
|
||||
if ! ynh_exec_warn_less dpkg -i $tempdir/$gitlab_filename ;
|
||||
then # This command will fail in lxc env
|
||||
|
|
|
@ -238,7 +238,7 @@ then
|
|||
|
||||
tempdir="$(mktemp -d)"
|
||||
|
||||
ynh_setup_source --dest_dir=$tempdir --source_id=$architecture
|
||||
ynh_setup_source --dest_dir=$tempdir --source_id=$architecture --full_replace=1
|
||||
|
||||
if ! ynh_exec_warn_less dpkg -i $tempdir/$gitlab_filename; then # This command will fail in lxc env
|
||||
package_check_action # defined in upgrade.d/upgrade.X.sh
|
||||
|
|
Loading…
Add table
Reference in a new issue