File PackageKit-dbus-location.patch of Package PackageKit.2392

Index: PackageKit-0.8.12/contrib/command-not-found/PackageKit.sh.in
===================================================================
--- PackageKit-0.8.12.orig/contrib/command-not-found/PackageKit.sh.in
+++ PackageKit-0.8.12/contrib/command-not-found/PackageKit.sh.in
@@ -11,7 +11,7 @@ command_not_found_handle () {
 	retval=127
 
 	# don't run if DBus isn't running
-	[ ! -S /var/run/dbus/system_bus_socket ] && runcnf=0
+	[ ! -S /run/dbus/system_bus_socket ] && runcnf=0
 
 	# don't run if packagekitd doesn't exist in the _system_ root
 	[ ! -x @LIBEXECDIR@/packagekitd ] && runcnf=0
openSUSE Build Service is sponsored by