From: Michael Tremer Date: Fri, 21 Oct 2022 10:26:25 +0000 (+0000) Subject: Create the database with read-only permissions for everyone X-Git-Tag: 0.9.16~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1d55c5087c47c8e93d51b2f90ffa45b0d976e7e7;p=location%2Flibloc.git Create the database with read-only permissions for everyone Signed-off-by: Michael Tremer --- diff --git a/Makefile.am b/Makefile.am index 5db3a51..049832f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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