Skip to content
Snippets Groups Projects
Commit 91f7ef51 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

add get-adt25

parent f06f4501
No related branches found
No related tags found
No related merge requests found
Pipeline #647 passed with stage
......@@ -82,4 +82,6 @@ Przyjmuje jeden argument. Dostępne to:
* User: postgres
* Hasło: postgres
* Połączenia: TCP z dowolnego adresu
\ No newline at end of file
* **get-adt25** - pobierz Android Development Tools r25 i wypakuj do /home/vagrant
* istnieć będzie katalog _/home/vagrant/tools_
* zmienne środowiskowe nie będą zmienione
......@@ -30,6 +30,17 @@ if [ $1 == "node5" ]; then
apt-get install -y nodejs
fi
if [ $1 == "get-adt25" ]; then
cd /home/vagrant
if [ -e "/wynurz-utils/http://dev.dms-serwis.com.pl/misc/tools_r25.2.3-linux.zip" ]; then
ln -s /wynurz-utils/http://dev.dms-serwis.com.pl/misc/tools_r25.2.3-linux.zip /home/vagrant/http://dev.dms-serwis.com.pl/misc/tools_r25.2.3-linux.zip
else
wget -nv http://dev.dms-serwis.com.pl/misc/jdk-8u121-linux-x64.tar.gz
fi;
unzip tools_r25.2.3-linux.zip
rm -f tools_r25.2.3-linux.zip
fi
if [ $1 == "jdk" ]; then
cd /home/vagrant
if [ -e "/wynurz-utils/jdk-8u121-linux-x64.tar.gz" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment