setup-base: Term::Animation als Abhaengigkeit fuer asciiquarium

asciiquarium benoetigt das Perl-Modul Term::Animation, das weder in
apt verfuegbar ist noch automatisch mitinstalliert wird. Installiert
libcurses-perl (apt) und Term::Animation (CPAN) vor asciiquarium.
This commit is contained in:
rene 2026-03-15 11:20:21 +01:00
parent 58a8fe0591
commit dad798a285

View file

@ -144,6 +144,9 @@ apt install -y \
ok "Pakete installiert (apt)" ok "Pakete installiert (apt)"
# asciiquarium (nicht in apt verfuegbar, manuell installieren) # asciiquarium (nicht in apt verfuegbar, manuell installieren)
# benoetigt Term::Animation (ebenfalls nicht in apt, daher via CPAN)
apt-get install -y libcurses-perl -qq
perl -MTerm::Animation -e1 2>/dev/null || cpan -T Term::Animation
if ! command -v asciiquarium &>/dev/null; then if ! command -v asciiquarium &>/dev/null; then
curl -fsSL https://robobunny.com/projects/asciiquarium/asciiquarium_1.1.tar.gz -o /tmp/asciiquarium.tar.gz \ curl -fsSL https://robobunny.com/projects/asciiquarium/asciiquarium_1.1.tar.gz -o /tmp/asciiquarium.tar.gz \
&& tar xzf /tmp/asciiquarium.tar.gz -C /tmp \ && tar xzf /tmp/asciiquarium.tar.gz -C /tmp \