From cd9594cca1d6db0c9c65f33478d6671a1e3677e2 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 17 Feb 2021 22:40:18 +0100 Subject: [PATCH] Update run.sh --- addons_updater/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons_updater/run.sh b/addons_updater/run.sh index 76d62578c..a361e2bce 100644 --- a/addons_updater/run.sh +++ b/addons_updater/run.sh @@ -39,7 +39,7 @@ for addons in $(bashio::config "addon|keys"); do else LOGINFO="... $SLUG : updating ${REPOSITORY}" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi cd "/data/$BASENAME" - git pull --rebase + git pull --rebase || git reset --hard fi #Define the folder addon