forked from naskya/firefish
dev: use sadsay for warnings and some sad reports
This commit is contained in:
parent
8a46b92948
commit
d12b7cb941
3 changed files with 5 additions and 4 deletions
|
@ -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?'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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!'
|
||||
|
|
Loading…
Reference in a new issue