From 5405173823d3dede594ed13146a5a31bab6450af Mon Sep 17 00:00:00 2001 From: Georg Krause <georg@funkwhale.audio> Date: Wed, 16 Aug 2023 19:33:49 +0000 Subject: [PATCH] feat: Allow to migrate to the new installation method for ansible --- upgrade.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/upgrade.sh b/upgrade.sh index 6747fe9..5a92ebe 100755 --- a/upgrade.sh +++ b/upgrade.sh @@ -49,6 +49,9 @@ yesno_prompt() { } do_upgrade() { + if [ ! -f "$ansible_bin_path/ansible" ]; then + ansible_bin_path="$HOME/.local/bin" + fi echo '[Beginning upgrade]' playbook_path="$ansible_conf_path/playbook.yml" echo "[1/$total_steps] Retrieving currently installed version from $playbook_path" -- GitLab