mirror of
https://example.com
synced 2024-11-22 22:26:39 +09:00
dev: show messages in chronological order
This commit is contained in:
parent
0ac5a1e474
commit
18488962fc
1 changed files with 23 additions and 28 deletions
|
@ -39,12 +39,9 @@ else
|
|||
fi
|
||||
|
||||
## show messages
|
||||
for message in neko/messages/*; do
|
||||
for message in $(find neko/messages -type f ! -name '*.resolved' -print | sort); do
|
||||
file=$(basename -- "${message}")
|
||||
|
||||
case "${file}" in
|
||||
*'.resolved') ;;
|
||||
*)
|
||||
if [ ! -f "neko/flags/${file}" ]; then
|
||||
if [ "$#" != '1' ] || [ "$1" != '--skip-all-confirmations' ]; then
|
||||
say 'There is an important notice!'
|
||||
|
@ -70,8 +67,6 @@ for message in neko/messages/*; do
|
|||
touch "neko/flags/${file}"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
say 'Do you use Docker or Podman?'
|
||||
|
|
Loading…
Reference in a new issue