diff --git a/update.sh b/update.sh index 7cf2f51..0d5d5c3 100644 --- a/update.sh +++ b/update.sh @@ -20,8 +20,7 @@ if [ ! -d "Microsoft-Rewards-bot" ]; then fi sudo dnf up -y -cd Microsoft-Rewards-bot || exit -git fetch +cd Microsoft-Rewards-bot && git fetch if [ "$(git rev-parse HEAD)" != "$(git rev-parse "@{u}")" ]; then git stash && git pull && pip install -r requirements.txt fi