Compare commits
No commits in common. "dd6a629009aa1ed026ff0cdd02f082511a53c075" and "f092e4b33431d661fc9b0e71cdf6742f92d6e845" have entirely different histories.
dd6a629009
...
f092e4b334
2 changed files with 24 additions and 30 deletions
|
@ -1,8 +1,8 @@
|
|||
---------------------------------------------------
|
||||
----------------------------------------------------
|
||||
| For systemd users: |
|
||||
| This Firefish flavor currently requires Node v21 |
|
||||
| PLEASE CHECK YOUR NODE VERSION BEFORE UPGRADING!! |
|
||||
| |
|
||||
| For the detailed explanation, see: |
|
||||
| https://post.naskya.net/notes/9ntn882tzcfe1qm6 |
|
||||
---------------------------------------------------
|
||||
----------------------------------------------------
|
||||
|
|
50
update.sh
50
update.sh
|
@ -33,37 +33,31 @@ fi
|
|||
## show messages
|
||||
for message in neko/messages/*; do
|
||||
file=$(basename -- "${message}")
|
||||
if [ ! -f "neko/flags/${file}" ]; then
|
||||
if [ "$#" != '1' ] || [ "$1" != '--skip-all-confirmations' ]; then
|
||||
say 'There is an important notice!'
|
||||
cat "${message}"
|
||||
|
||||
case "${file}" in
|
||||
*'.resolved') ;;
|
||||
*)
|
||||
if [ ! -f "neko/flags/${file}" ]; then
|
||||
if [ "$#" != '1' ] || [ "$1" != '--skip-all-confirmations' ]; then
|
||||
say 'There is an important notice!'
|
||||
cat "${message}"
|
||||
say 'Continue? (Are you ready for upgrading?)'
|
||||
printf '[y/N] > '
|
||||
read -r yn
|
||||
|
||||
say 'Continue? (Are you ready for upgrading?)'
|
||||
printf '[y/N] > '
|
||||
read -r yn
|
||||
|
||||
case "${yn}" in
|
||||
[Yy]|[Yy][Ee][Ss])
|
||||
touch "neko/flags/${file}"
|
||||
say "Let's go!"
|
||||
say "To read the message again, run: \$ cat ${message}"
|
||||
br
|
||||
;;
|
||||
*)
|
||||
say "Okay, please run this script again when you're ready!"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
else
|
||||
case "${yn}" in
|
||||
[Yy]|[Yy][Ee][Ss])
|
||||
touch "neko/flags/${file}"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
say "Let's go!"
|
||||
say "To read the message again, run: \$ cat ${message}"
|
||||
br
|
||||
;;
|
||||
*)
|
||||
say "Okay, please run this script again when you're ready!"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
else
|
||||
touch "neko/flags/${file}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
say 'Do you use Docker?'
|
||||
|
|
Loading…
Reference in a new issue