1
0

put trinity.moe on a diet

This commit is contained in:
dtb 2022-08-30 11:40:40 -04:00
parent 6f4e8cd992
commit 7c6bd987e5
3 changed files with 3 additions and 6022 deletions

Binary file not shown.

View File

@ -6,10 +6,10 @@ if ! command -v curl >/dev/null 2>&1; then
exit 1 exit 1
fi fi
ZELDA="http://www.trinity.moe/zelda.wav" ZELDA="https://archive.org/download/cirno_actually_plays_zelda_in_terminal/zelda.wav"
if which aplay >/dev/null 2>&1; then curl "$ZELDA" | aplay if which aplay >/dev/null 2>&1; then curl -L "$ZELDA" | aplay # ALSA
elif ls /dev/dsp >/dev/null 2>&1; then curl "$ZELDA" >/dev/dsp elif ls /dev/dsp >/dev/null 2>&1; then curl -L "$ZELDA" >/dev/dsp # OSS
else else
printf "Unknown sound device. Sorry!\n" printf "Unknown sound device. Sorry!\n"
exit 1 exit 1

File diff suppressed because it is too large Load Diff