mirror of
https://forge.chapril.org/tykayn/workflow
synced 2025-10-09 17:02:47 +02:00
split init
This commit is contained in:
parent
69348d5f60
commit
497c5fa2bc
5 changed files with 134 additions and 124 deletions
26
initialization/partials/java-josm.sh
Normal file
26
initialization/partials/java-josm.sh
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#!/bin/bash
|
||||
echo " ------ install java and josm ------"
|
||||
|
||||
############## java pour josm
|
||||
if ! hash java ; then
|
||||
sudo apt install java -y
|
||||
fi
|
||||
|
||||
if ! hash javaws; then
|
||||
cd tmp
|
||||
wget https://github.com/karakun/OpenWebStart/releases/download/v1.7.0/OpenWebStart_linux_1_7_0.deb
|
||||
sudo dpkg -i OpenWebStart_linux_1_7_0.deb
|
||||
rm -rf OpenWebStart_linux_1_7_0.deb
|
||||
|
||||
fi
|
||||
|
||||
if ! hash josm ; then
|
||||
mkdir -p ~/areas/www/misc/josm
|
||||
cd ~/areas/www/misc/josm
|
||||
|
||||
wget https://josm.openstreetmap.de/download/josm.jnlp
|
||||
|
||||
sudo apt install josm -y
|
||||
fi
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue