1
0
Fork 0
mirror of https://github.com/Findus23/la-tools.git synced 2024-08-27 19:52:15 +02:00
la-tools/dropbox.sh

18 lines
435 B
Bash
Raw Normal View History

2014-02-23 14:57:38 +01:00
#!/bin/bash
2014-12-01 17:01:47 +01:00
TEXTDOMAIN=la-tools
TEXTDOMAINDIR=./
name="Dropbox"
./installed.sh dropbox $name && exit
2014-12-01 18:20:46 +01:00
wget -O -c /tmp/dropbox.deb https://www.dropbox.com/download?dl=packages/debian/dropbox_1.6.2_i386.deb
2014-02-23 14:57:38 +01:00
2014-12-01 18:20:46 +01:00
if sudo dpkg -i -y /tmp/dropbox.deb
2014-02-23 14:57:38 +01:00
then
2014-12-01 17:01:47 +01:00
zenity --info --title $"Success" --text $"$name successfully installed"
2014-02-23 14:57:38 +01:00
else
2014-12-01 17:01:47 +01:00
zenity --error --title $"Error" --text $"An error occurred while installing $name"
2014-02-23 14:57:38 +01:00
fi
2014-02-23 15:27:11 +01:00
rm /tmp/dropbox.deb
2014-02-23 14:57:38 +01:00