mirror of
https://github.com/Findus23/la-tools.git
synced 2024-08-27 19:52:15 +02:00
17 lines
509 B
Bash
Executable file
17 lines
509 B
Bash
Executable file
#!/bin/bash
|
|
TEXTDOMAIN=la-tools
|
|
TEXTDOMAINDIR=./
|
|
name="Dropbox"
|
|
|
|
./installed.sh dropbox $name && exit
|
|
|
|
URL="https://www.dropbox.com/download?dl=packages/debian/dropbox_1.6.2_i386.deb"
|
|
wget -c $URL
|
|
if sudo dpkg -i ./$(basename $URL)
|
|
then
|
|
zenity --info --title $"Success" --text $"$name successfully installed"
|
|
zenity --info --title $"Success" --text $"Please restart Nautilus (file explorer)"
|
|
rm ./$(basename $URL)
|
|
else
|
|
zenity --error --title $"Error" --text $"An error occurred while installing $name"
|
|
fi
|