mirror of
https://github.com/Findus23/la-tools.git
synced 2024-08-27 19:52:15 +02:00
16 lines
423 B
Bash
Executable file
16 lines
423 B
Bash
Executable file
#!/bin/bash
|
|
TEXTDOMAIN=la-tools
|
|
TEXTDOMAINDIR=./
|
|
name="Anki"
|
|
|
|
./installed.sh anki $name && exit
|
|
|
|
wget -c -O /tmp/anki.deb http://ankisrs.net/download/mirror/anki-2.0.31.deb
|
|
sudo apt-get install mplayer -y
|
|
if sudo dpkg -i /tmp/anki.deb
|
|
then
|
|
zenity --info --title $"Success" --text $"$name successfully installed"
|
|
else
|
|
zenity --error --title $"Error" --text $"An error occurred while installing $name"
|
|
fi
|
|
rm /tmp/anki.deb
|