KohyaSS/upgrade_macos.sh
bmaltais 97b004e756 Revert "Merge pull request #466 from jstayco/consolidated_install_scripts"
This reverts commit b7a719b51a56bb4094512c76f48ef118649874c6, reversing
changes made to 538752ccab9032d9fd7035bfb5ba2583b30747ca.
2023-04-01 06:29:45 -04:00

17 lines
453 B
Bash
Executable File

#!/bin/bash
# Check if there are any changes that need to be committed
if [[ -n $(git status --short) ]]; then
echo "There are changes that need to be committed. Please stash or undo your changes before running this script." >&2
exit 1
fi
# Pull the latest changes from the remote repository
git pull
# Activate the virtual environment
source venv/bin/activate
# Upgrade the required packages
pip install --upgrade -r requirements_macos.txt