From 76baf422bbcaafb3af5ffc2d12729e421d5e060f Mon Sep 17 00:00:00 2001
From: Riccardo Boero <ribo@nilu.no>
Date: Fri, 4 Oct 2024 13:04:35 +0200
Subject: [PATCH] fixed typos in scripts

---
 inputs/load_data.sh | 2 +-
 inputs/setup_db.sh  | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/inputs/load_data.sh b/inputs/load_data.sh
index 0c04958..2734e11 100755
--- a/inputs/load_data.sh
+++ b/inputs/load_data.sh
@@ -11,7 +11,7 @@ wget -O ./temp/temp.zip -N "https://ostr-backend-prod.azurewebsites.net/server/a
 unzip -d ./temp/ ./temp/temp.zip
 ogr2ogr -f MySQL MySQL:FACT_mine,host=$HOST,user=$USER,password=$PASSWORD ./temp/data/ArcMap9_ArcReader9/AllThemesMerged/gen.shp -nln geology -update -overwrite -lco engine=Aria -t_srs EPSG:4326
 chmod -R u+w temp/
-sudo rm -r ./temp
+rm -r ./temp
 
 # single mineral maps
 declare -a minerals=("phosphate" "podchrome" "laterite" "ree" "carbonatite" "nicrpge" "sedcu" "porcu" "sedexmvt" "sedznpb" "vms" "potash")
diff --git a/inputs/setup_db.sh b/inputs/setup_db.sh
index d5cf029..d25f5c4 100755
--- a/inputs/setup_db.sh
+++ b/inputs/setup_db.sh
@@ -7,5 +7,3 @@ PASSWORD=$3
 
 echo "*** Create database:"
 mariadb -h "$HOST" -u "$USER" -p"$PASSWORD" < inputs/sql/create_db.sql
-#echo "*** Create tables:"
-#mariadb -h "" -u "root" -p  < inputs/sql/create_tables.sql
-- 
GitLab