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:
parent
58a8fe0591
commit
dad798a285
1 changed files with 3 additions and 0 deletions
|
|
@ -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 \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue