1
0
Fork 0
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:
Yunohost-Bot 2024-03-11 16:04:55 +01:00 committed by Félix Piédallu
parent 73de11600b
commit 80377e56c5
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ ynh_add_config --template="$YNH_APP_BASEDIR/conf/$architecture.src.default" --de
tempdir="$(mktemp -d)" 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 ; if ! ynh_exec_warn_less dpkg -i $tempdir/$gitlab_filename ;
then # This command will fail in lxc env then # This command will fail in lxc env

View file

@ -238,7 +238,7 @@ then
tempdir="$(mktemp -d)" 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 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 package_check_action # defined in upgrade.d/upgrade.X.sh