Commit 1d55c508 authored by Michael Tremer's avatar Michael Tremer

Create the database with read-only permissions for everyone

Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
parent cc3b8ccd
......@@ -314,6 +314,9 @@ dist_database_DATA = \
data/database.db \
data/signing-key.pem
install-data-hook:
chmod 444 $(DESTDIR)$(databasedir)/database.db
.PHONY: update-database
update-database:
curl https://location.ipfire.org/databases/1/location.db.xz | xz -d > data/database.db
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment