Fix update

This commit is contained in:
2023-06-23 13:22:50 +02:00
parent 20f0f09e31
commit 6d53970dba

View File

@@ -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