aboutsummaryrefslogtreecommitdiff
path: root/randopitons.sh
diff options
context:
space:
mode:
Diffstat (limited to 'randopitons.sh')
-rw-r--r--randopitons.sh61
1 files changed, 29 insertions, 32 deletions
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"