Fix update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user