From fb9c6c8a5d208c08103171bd83c53b2d59b4c754 Mon Sep 17 00:00:00 2001 From: phl0 Date: Tue, 15 May 2018 21:46:37 +0200 Subject: [PATCH] Add "www." to prevent SSL certificate errors --- database/dbupdate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/dbupdate.sh b/database/dbupdate.sh index f476489..a1c365c 100755 --- a/database/dbupdate.sh +++ b/database/dbupdate.sh @@ -1,6 +1,6 @@ #!/bin/bash -echo Downloading DMR-IDs from MARC-database -curl 'https://radioid.net/static/users.csv' 2>/dev/null | sed -e 's/\t//g' | awk -F"," '/,/{gsub(/ /, "", $2); printf "%s;%s;%s\n", $1, $2, $3}' | sed -e 's/\(.\) .*/\1/g' > dmrids.dat +echo Downloading DMR-IDs from RadioID database +curl 'https://www.radioid.net/static/users.csv' 2>/dev/null | sed -e 's/\t//g' | awk -F"," '/,/{gsub(/ /, "", $2); printf "%s;%s;%s\n", $1, $2, $3}' | sed -e 's/\(.\) .*/\1/g' > dmrids.dat echo Removing IDs from local database echo -e 'delete from callsign where 1;' | sqlite3 callsigns.db