From 3789161d85d2ad54279077b0123ccec6aec619e5 Mon Sep 17 00:00:00 2001 From: Lionel Date: Sun, 21 Oct 2018 19:13:40 +0200 Subject: Adding LICENSE file. --- LICENSE | 14 ++++++++++++++ randopitons.sh | 61 ++++++++++++++++++++++++++++------------------------------ 2 files changed, 43 insertions(+), 32 deletions(-) create mode 100644 LICENSE 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 + + 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" -- cgit v1.2.3-54-g00ecf