Update 99-run.sh

This commit is contained in:
Alexandre
2022-12-25 08:37:34 +01:00
committed by GitHub
parent c9431a1638
commit af831fead6

View File

@@ -39,8 +39,8 @@ if [ ! -d "/data/$BASENAME" ]; then
else
LOGINFO="... updating ${REPOSITORY}" && if [ "$VERBOSE" = true ]; then bashio::log.info "$LOGINFO"; fi
cd "/data/$BASENAME" || exit
git pull --rebase &>/dev/null || git reset --hard &>/dev/null
git pull --rebase &>/dev/null
git pull --rebase >/dev/null || git reset --hard >/dev/null
git pull --rebase >/dev/null
fi
LOGINFO="... parse addons" && if [ "$VERBOSE" = true ]; then bashio::log.info "$LOGINFO"; fi