diff options
author | Richard Hughes <richard@hughsie.com> | 2013-12-03 18:58:34 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2013-12-03 19:22:28 +0000 |
commit | f731e11a0fcc3aaaad2541fdac01504df5f08de5 (patch) | |
tree | d1fd4022fb598ca5aed8c3c0bd06b897df5dfb4f /data | |
parent | dbe28c4c65830332347b1d4d1a05d404ede3e775 (diff) |
Use the system database location when compiling with --enable-local
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index b41a1c94c..7a7c1b496 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -29,14 +29,14 @@ $(systemdservice_DATA): $(systemdservice_in_files) Makefile endif -databasedir = $(PK_DB_DIR) +databasedir = $(localstatedir)/lib/PackageKit database_DATA = \ transactions.db install-data-hook: @for file in $(database_DATA); do \ - echo "Remove global read access for: $(DESTDIR)$(PK_DB_DIR)/$$file"; \ - chmod o-r $(DESTDIR)$(PK_DB_DIR)/$$file; \ + echo "Remove global read access for: $(DESTDIR)$(localstatedir)/lib/PackageKit/$$file"; \ + chmod o-r $(DESTDIR)$(localstatedir)/lib/PackageKit/$$file; \ done EXTRA_DIST = \ |