mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-07 08:44:07 +01:00
Fix signature file being gzipped
This commit is contained in:
parent
7251150c1c
commit
1e630b5d45
@ -30,6 +30,9 @@ download_geolite_mmdb() {
|
||||
|
||||
# Verify the signature
|
||||
echo "Verifying signature..."
|
||||
|
||||
mv "$SIGNATURE_FILE" "$SIGNATURE_FILE".gz
|
||||
gunzip "$SIGNATURE_FILE".gz
|
||||
if sha256sum -c --status "$SIGNATURE_FILE"; then
|
||||
echo "Signature is valid."
|
||||
else
|
||||
@ -71,6 +74,8 @@ download_geolite_csv_and_create_sqlite_db() {
|
||||
|
||||
# Verify the signature
|
||||
echo "Verifying signature..."
|
||||
mv "$SIGNATURE_FILE" "$SIGNATURE_FILE".gz
|
||||
gunzip "$SIGNATURE_FILE".gz
|
||||
if sha256sum -c --status "$SIGNATURE_FILE"; then
|
||||
echo "Signature is valid."
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user