[systemd-commits] src/path-lookup.c systemd.pc.in

Lennart Poettering lennart at kemper.freedesktop.org
Mon Apr 4 10:14:45 PDT 2011


 src/path-lookup.c |    2 +-
 systemd.pc.in     |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 0b5b0ffbe0e62248c741df3b0eb475159de1c551
Author: Lennart Poettering <lennart at poettering.net>
Date:   Mon Apr 4 19:14:38 2011 +0200

    pkgconfig: update .pc file accordingly

diff --git a/src/path-lookup.c b/src/path-lookup.c
index e5533c0..b39ce8b 100644
--- a/src/path-lookup.c
+++ b/src/path-lookup.c
@@ -194,8 +194,8 @@ int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as) {
                                               "/usr/local/lib/systemd/system",
                                               "/usr/share/systemd/system",
                                               "/usr/lib/systemd/system",
-                                              SYSTEM_DATA_UNIT_PATH,
                                               "/lib/systemd/system",
+                                              SYSTEM_DATA_UNIT_PATH,
                                               NULL)))
                                 return -ENOMEM;
         }
diff --git a/systemd.pc.in b/systemd.pc.in
index 33c3f36..2e2217e 100644
--- a/systemd.pc.in
+++ b/systemd.pc.in
@@ -11,7 +11,8 @@ systemdsystemunitdir=@systemunitdir@
 systemduserunitdir=@userunitdir@
 systemdsystemconfdir=@pkgsysconfdir@/system
 systemduserconfdir=@pkgsysconfdir@/user
-systemdsystemunitpath=/run/systemd/system:${systemdsystemconfdir}:/etc/systemd/system:/usr/local/share/systemd/system:/usr/share/systemd/system:/lib/systemd/system:${systemdsystemunitdir}
+systemdsystemunitpath=/run/systemd/system:${systemdsystemconfdir}:/etc/systemd/system:/usr/local/share/systemd/system:/usr/local/lib/systemd/system:/usr/share/systemd/system:/usr/lib/systemd/system:/lib/systemd/system:${systemdsystemunitdir}
+systemduserunitpath=${systemduserconfdir}:/etc/systemd/user:/usr/local/share/systemd/user:/usr/local/lib/systemd/user:/usr/share/systemd/user:/usr/lib/systemd/user:${systemduserunitdir}
 
 Name: systemd
 Description: systemd System and Service Manager



More information about the systemd-commits mailing list