diff --git a/update.sh b/update.sh index ba8c7c1..431a903 100644 --- a/update.sh +++ b/update.sh @@ -49,6 +49,9 @@ fi if [[ ! -f modules/custom_scheduler.py ]]; then cp -n etc/custom_scheduler.py modules/ printf "\nCustom scheduler template copied to modules/custom_scheduler.py\n" +elif ! cmp -s modules/custom_scheduler.py etc/custom_scheduler.py; then + echo "Warning: modules/custom_scheduler.py differs from the template in etc/custom_scheduler.py." + echo "If you want to see the differences, run: diff etc/custom_scheduler.py modules/custom_scheduler.py" fi # Backup the data/ directory