2014-02-23 14:57:38 +01:00
|
|
|
#!/bin/bash
|
2014-12-01 17:01:47 +01:00
|
|
|
TEXTDOMAIN=la-tools
|
|
|
|
TEXTDOMAINDIR=./
|
|
|
|
name="Dropbox"
|
|
|
|
|
2014-12-01 17:46:52 +01:00
|
|
|
./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:24:53 +01:00
|
|
|
if sudo dpkg -i /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
|
|
|
|