From 886e5deb76596d307ccbebdc33d4fff78539707d Mon Sep 17 00:00:00 2001 From: SA7BNT <35367117+SA7BNT@users.noreply.github.com> Date: Tue, 15 May 2018 21:37:30 +0200 Subject: [PATCH] Update dbupdate.sh --- database/dbupdate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/dbupdate.sh b/database/dbupdate.sh index 3838a3d..f476489 100755 --- a/database/dbupdate.sh +++ b/database/dbupdate.sh @@ -1,6 +1,6 @@ #!/bin/bash echo Downloading DMR-IDs from MARC-database -curl 'https://www.dmr-marc.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 +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 Removing IDs from local database echo -e 'delete from callsign where 1;' | sqlite3 callsigns.db