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

Download nach /tmp

This commit is contained in:
Findus23 2014-12-20 12:18:46 +01:00
parent e1a54e5a48
commit 71d1f6416e
6 changed files with 8 additions and 10 deletions

View file

@ -2,8 +2,8 @@
TEXTDOMAIN=la-tools
TEXTDOMAINDIR=./
name="Adobe-Reader"
./apt-update.sh
./installed.sh adobereader-deu $name && exit
cd /tmp
URL="ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.1/deu/AdbeRdr9.1.0-1_i386linux_deu.deb"
wget -c $URL

View file

@ -2,8 +2,8 @@
TEXTDOMAIN=la-tools
TEXTDOMAINDIR=./
name="Anki"
./apt-update.sh
./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

View file

@ -2,9 +2,8 @@
TEXTDOMAIN=la-tools
TEXTDOMAINDIR=./
name="Dropbox"
./apt-update.sh
./installed.sh dropbox $name && exit
cd /tmp
URL="https://www.dropbox.com/download?dl=packages/debian/dropbox_1.6.2_i386.deb"
wget -c $URL
if sudo dpkg -i ./$(basename $URL)

View file

@ -2,8 +2,8 @@
TEXTDOMAIN=la-tools
TEXTDOMAINDIR=./
name="Google Chrome"
./apt-update.sh
./installed.sh google-chrome $name && exit
cd /tmp
URL="https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb"
wget -c $URL
if sudo dpkg -i ./$(basename $URL)
@ -13,4 +13,3 @@ then
else
zenity --error --title $"Error" --text $"An error occurred while installing $name"
fi
rm /tmp/chrome.deb

View file

@ -2,15 +2,15 @@
TEXTDOMAIN=la-tools
TEXTDOMAINDIR=./
name="Opera"
./apt-update.sh
./installed.sh opera $name && exit
cd /tmp
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"
rm ./$(basename $URL)
else
zenity --error --title $"Error" --text $"An error occurred while installing $name"
fi
rm /tmp/opera.deb

View file

@ -2,8 +2,8 @@
TEXTDOMAIN=la-tools
TEXTDOMAINDIR=./
name="Skype"
./apt-update.sh
./installed.sh skype $name && exit
cd /tmp
URL="http://download.skype.com/linux/skype-debian_4.2.0.13-1_i386.deb"
wget -c $URL
if sudo dpkg -i ./$(basename $URL)
@ -12,4 +12,4 @@ then
else
zenity --error --title $"Error" --text $"An error occurred while installing $name"
fi
rm /tmp/skype.deb