mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-13 10:21:10 +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
|
# Verify the signature
|
||||||
echo "Verifying signature..."
|
echo "Verifying signature..."
|
||||||
|
|
||||||
|
mv "$SIGNATURE_FILE" "$SIGNATURE_FILE".gz
|
||||||
|
gunzip "$SIGNATURE_FILE".gz
|
||||||
if sha256sum -c --status "$SIGNATURE_FILE"; then
|
if sha256sum -c --status "$SIGNATURE_FILE"; then
|
||||||
echo "Signature is valid."
|
echo "Signature is valid."
|
||||||
else
|
else
|
||||||
@ -71,6 +74,8 @@ download_geolite_csv_and_create_sqlite_db() {
|
|||||||
|
|
||||||
# Verify the signature
|
# Verify the signature
|
||||||
echo "Verifying signature..."
|
echo "Verifying signature..."
|
||||||
|
mv "$SIGNATURE_FILE" "$SIGNATURE_FILE".gz
|
||||||
|
gunzip "$SIGNATURE_FILE".gz
|
||||||
if sha256sum -c --status "$SIGNATURE_FILE"; then
|
if sha256sum -c --status "$SIGNATURE_FILE"; then
|
||||||
echo "Signature is valid."
|
echo "Signature is valid."
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user