mirror of
https://github.com/Findus23/la-tools.git
synced 2024-08-27 19:52:15 +02:00
XAMPP hinzugefügt
This commit is contained in:
parent
71d1f6416e
commit
f9ebb3078e
1 changed files with 15 additions and 0 deletions
15
xampp.sh
Executable file
15
xampp.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
TEXTDOMAIN=la-tools
|
||||
TEXTDOMAINDIR=./
|
||||
name="Xampp"
|
||||
./installed.sh opera $name && exit
|
||||
cd /tmp
|
||||
URL="http://downloads.sourceforge.net/project/xampp/XAMPP%20Linux/5.6.3/xampp-linux-x64-5.6.3-0-installer.run"
|
||||
wget -c $URL
|
||||
if sudo ./$(basename $URL) --mode unattended --disable-components xampp_developer_files --installer-language de --launchapps 0 --unattendedmodeui minimalWithDialogs
|
||||
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
|
Loading…
Reference in a new issue