From 0ff7b4fdff04cd24dfe600f5748890df7da8d725 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Fri, 5 Feb 2010 05:11:57 +0100 Subject: [PATCH] Move the history files to /var/lib/upower Distros should move existing files from /var/lib/DeviceKit-power to /var/lib/upower on upgrades in their maintainer scripts. --- src/Makefile.am | 2 +- src/up-history.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 343ed27..928a759 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -175,7 +175,7 @@ $(dbusconf_DATA): $(dbusconf_in_files) Makefile install-data-hook: if test -w $(DESTDIR)$(prefix)/; then \ - mkdir -p $(DESTDIR)$(localstatedir)/lib/DeviceKit-power; \ + mkdir -p $(DESTDIR)$(localstatedir)/lib/upower; \ fi install-exec-hook: diff --git a/src/up-history.c b/src/up-history.c index a6f981d..19c263b 100644 --- a/src/up-history.c +++ b/src/up-history.c @@ -382,7 +382,7 @@ up_history_get_filename (UpHistory *history, const gchar *type) gchar *filename; filename = g_strdup_printf ("history-%s-%s.dat", type, history->priv->id); - path = g_build_filename (PACKAGE_LOCALSTATE_DIR, "lib", "DeviceKit-power", filename, NULL); + path = g_build_filename (PACKAGE_LOCALSTATE_DIR, "lib", "upower", filename, NULL); g_free (filename); return path; }