aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel <lionel.miquel46@gmail.com>2018-10-21 19:13:40 +0200
committerLionel <lionel.miquel46@gmail.com>2018-10-21 19:13:40 +0200
commit3789161d85d2ad54279077b0123ccec6aec619e5 (patch)
treed188fa4280f379ec2c63af11e30ee70f1f012913
parent937af561fc0879891565c8e13b089621cb7b5954 (diff)
downloadrandopitons-3789161d85d2ad54279077b0123ccec6aec619e5.tar.gz
randopitons-3789161d85d2ad54279077b0123ccec6aec619e5.zip
Adding LICENSE file.
-rw-r--r--LICENSE14
-rw-r--r--randopitons.sh61
2 files changed, 43 insertions, 32 deletions
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..ee7d6a5
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,14 @@
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ Version 2, December 2004
+
+ Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
+
+ Everyone is permitted to copy and distribute verbatim or modified
+ copies of this license document, and changing it is allowed as long
+ as the name is changed.
+
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. You just DO WHAT THE FUCK YOU WANT TO.
+
diff --git a/randopitons.sh b/randopitons.sh
index 0902e17..8d2c4ec 100644
--- a/randopitons.sh
+++ b/randopitons.sh
@@ -44,39 +44,36 @@ echo -e "\nPassword (for randopitons.re): "
read -s RDPUSERPASS
}
-filechecks()
-{
- if [ -s "./regions.txt" ];then
- echo "Region file is already there. OK"
- else
- echo "Region file isn't. Not OK, we will create it."
- echo "Cirque de Cilaos
- Cirque de Mafate
- Cirque de Salazie
- Est
- Nord
- Ouest
- Sud
- Volcan
- Ailleurs
- All">regions.txt
- fi
+if [ -s "./regions.txt" ];then
+ echo "Region file is already there. OK"
+else
+ echo "Region file isn't. Not OK, we will create it."
+ echo "Cirque de Cilaos
+ Cirque de Mafate
+ Cirque de Salazie
+ Est
+ Nord
+ Ouest
+ Sud
+ Volcan
+ Ailleurs
+ All">regions.txt
+fi
- if [-s "./webregions.txt"];then
- echo "Webegion file is already there. OK"
- else
- echo "Wegion file isn't. Not OK, we will create it."
- echo "cirque-cilaos
- cirque-mafate
- cirque-salazie
- est
- nord
- ouest
- sud
- volcan
- ailleurs">webregions.txt
- fi
-}
+if [-s "./webregions.txt"];then
+ echo "Webegion file is already there. OK"
+else
+ echo "Wegion file isn't. Not OK, we will create it."
+ echo "cirque-cilaos
+ cirque-mafate
+ cirque-salazie
+ est
+ nord
+ ouest
+ sud
+ volcan
+ ailleurs">webregions.txt
+fi
MAPTYPE="gpx"
RDPHOME=$HOME"/Randopitons"