1
0
Fork 0
mirror of https://github.com/Findus23/la-tools.git synced 2024-08-27 19:52:15 +02:00
la-tools/anki.sh
2014-12-20 12:18:46 +01:00

16 lines
433 B
Bash
Executable file

#!/bin/bash
TEXTDOMAIN=la-tools
TEXTDOMAINDIR=./
name="Anki"
./installed.sh anki $name && exit
cd /tmp
URL="http://ankisrs.net/download/mirror/anki-2.0.31.deb"
wget -c $URL
sudo apt-get install mplayer -y
if sudo dpkg -i ./$(basename $URL)
then
zenity --info --title $"Success" --text $"$name successfully installed"
rm ./$(basename $URL)
else
zenity --error --title $"Error" --text $"An error occurred while installing $name"
fi