1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gitlab-runner_ynh.git synced 2024-09-03 19:15:58 +02:00
This commit is contained in:
Salamandar 2024-07-20 22:33:34 +02:00 committed by GitHub
commit a4f7cce356
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ test ! -d /etc/$app \
ynh_script_progression --message="Reinstalling GitLab Runner..." ynh_script_progression --message="Reinstalling GitLab Runner..."
tempdir="$(mktemp -d)" tempdir="$(mktemp -d)"
ynh_setup_source --dest_dir=$tempdir ynh_setup_source --dest_dir=$tempdir --full_replace=1
dpkg -i $tempdir/gitlab-runner.deb dpkg -i $tempdir/gitlab-runner.deb
ynh_secure_remove --file="$tempdir" ynh_secure_remove --file="$tempdir"

View file

@ -38,7 +38,7 @@ then
fi fi
tempdir="$(mktemp -d)" tempdir="$(mktemp -d)"
ynh_setup_source --dest_dir=$tempdir ynh_setup_source --dest_dir=$tempdir --full_replace=1
dpkg -i $tempdir/gitlab-runner.deb dpkg -i $tempdir/gitlab-runner.deb
ynh_secure_remove --file="$tempdir" ynh_secure_remove --file="$tempdir"
fi fi