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

dev: use sadsay for warnings and some sad reports

This commit is contained in:
naskya 2024-01-05 14:41:00 +09:00
parent 8a46b92948
commit d12b7cb941
Signed by: naskya
GPG key ID: 712D413B3A9FED5C
3 changed files with 5 additions and 4 deletions

View file

@ -9,7 +9,7 @@ pull() {
}
if ! pull "$1"; then
say 'awawa, the image may not be compatible with your environment...'
sadsay 'awawa, the image may not be compatible with your environment...'
say 'Gonnya try building the image locally!'
say 'It takes some time! Why not brew a cup of cofe?'

View file

@ -11,7 +11,7 @@ if [ "$#" != '1' ] || [ "$1" != '--skip-all-confirmations' ]; then
case "${yn}" in
[Nn]|[Nn][Oo])
say 'You must stop your server first!'
sadsay 'You must stop your server first!'
exit 1
;;
*)
@ -49,8 +49,9 @@ br
# prevent migration errors
if [ ! -f packages/backend/native-utils/built/index.js ]; then
say 'Something went wrong orz... Gonnya try fixing that.'
sadsay 'Something went wrong... Gonnya try fixing that.'
run 'cp neko/index.js packages/backend/native-utils/built/index.js'
br
else
say "It's going well so far!"
br

View file

@ -31,7 +31,7 @@ br
say 'Checking if the update script itself has been modified by this update...'
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!"
sadsay "I'm sorry to bother you, but please run this script again!"
exit 1
else
say 'This script seems to be up-to-date!'