From 6d53970dbac4dcb9c868c78796144538d56ef4cb Mon Sep 17 00:00:00 2001 From: Lightemerald Date: Fri, 23 Jun 2023 13:22:50 +0200 Subject: [PATCH] Fix update --- update.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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