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

Download verändert

This commit is contained in:
Findus23 2014-12-01 18:39:06 +01:00
parent 101edea4a1
commit 6890038151
6 changed files with 23 additions and 22 deletions

View file

@ -4,13 +4,14 @@ TEXTDOMAINDIR=./
name="Adobe-Reader"
./installed.sh adobereader-deu $name && exit
URL="ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.1/deu/AdbeRdr9.1.0-1_i386linux_deu.deb"
wget -c $URL
wget -c -O /tmp/adobe-reader.deb ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.1/deu/AdbeRdr9.1.0-1_i386linux_deu.deb
if sudo dpkg -i /tmp/adobe-reader.deb
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
rm /tmp/adobe-reader.deb

View file

@ -4,13 +4,13 @@ TEXTDOMAINDIR=./
name="Anki"
./installed.sh anki $name && exit
wget -c -O /tmp/anki.deb http://ankisrs.net/download/mirror/anki-2.0.31.deb
URL="http://ankisrs.net/download/mirror/anki-2.0.31.deb"
wget -c $URL
sudo apt-get install mplayer -y
if sudo dpkg -i /tmp/anki.deb
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
rm /tmp/anki.deb

View file

@ -5,13 +5,12 @@ name="Dropbox"
./installed.sh dropbox $name && exit
wget -O -c /tmp/dropbox.deb https://www.dropbox.com/download?dl=packages/debian/dropbox_1.6.2_i386.deb
if sudo dpkg -i /tmp/dropbox.deb
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"
rm ./$(basename $URL)
else
zenity --error --title $"Error" --text $"An error occurred while installing $name"
fi
rm /tmp/dropbox.deb

View file

@ -4,11 +4,12 @@ TEXTDOMAINDIR=./
name="Google Chrome"
./installed.sh google-chrome $name && exit
wget -c -O /tmp/chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
if sudo dpkg -i /tmp/chrome.deb
URL="/tmp/chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb"
wget -c $URL
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

View file

@ -4,9 +4,9 @@ TEXTDOMAINDIR=./
name="Opera"
./installed.sh opera $name && exit
wget -O -c /tmp/opera.deb http://get.geo.opera.com/pub/opera/linux/1216/opera_12.16.1860_i386.deb
if sudo dpkg -i /tmp/opera.deb
URL"http://get.geo.opera.com/pub/opera/linux/1216/opera_12.16.1860_i386.deb"
wget -c $URL
if sudo dpkg -i ./$(basename $URL)
then
zenity --info --title $"Success" --text $"$name successfully installed"
else

View file

@ -4,9 +4,9 @@ TEXTDOMAINDIR=./
name="Skype"
./installed.sh skype $name && exit
wget -c -O /tmp/skype.deb http://download.skype.com/linux/skype-debian_4.2.0.13-1_i386.deb
if sudo dpkg -i /tmp/skype.deb
URL="http://download.skype.com/linux/skype-debian_4.2.0.13-1_i386.deb"
wget -c $URL
if sudo dpkg -i ./$(basename $URL)
then
zenity --info --title $"Success" --text $"$name successfully installed"
else