1
0
Fork 1
mirror of https://example.com synced 2024-11-22 20:56:40 +09:00

fix: also check neko/update is modified on upgrade

This commit is contained in:
naskya 2023-11-15 13:23:36 +09:00
parent f58a5f0109
commit ec76d58474
Signed by: naskya
GPG key ID: 164DFF24E2D40139

View file

@ -24,7 +24,7 @@ br
## check if the update script itself is updated
say "Checking if the update script itself has been modified by this update..."
if [ "$(git diff "${OLD_COMMIT}" "${NEW_COMMIT}" update.sh)" != "" ]; then
if [ "$(git diff "${OLD_COMMIT}" "${NEW_COMMIT}" update.sh neko/update)" != "" ]; then
say "Oh meow, that seems to be the case."
say "I'm sorry to bother you, but please run this script again!"
exit 1