Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > 8514fd6c00df3ce5f997b7032ebc8f39 > files > 5

PackageKit-0.6.6-3.fc13.src.rpm

From 83626eb50585400079bc181a9f5b822523435f9e Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard@hughsie.com>
Date: Mon, 12 Jul 2010 09:39:24 +0100
Subject: [PATCH] Unbreak CNF after the daemon moved to libexec. Fixes rh#613514

---
 contrib/command-not-found/PackageKit.sh.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/contrib/command-not-found/PackageKit.sh.in b/contrib/command-not-found/PackageKit.sh.in
index de34fe7..8d8eb38 100644
--- a/contrib/command-not-found/PackageKit.sh.in
+++ b/contrib/command-not-found/PackageKit.sh.in
@@ -14,7 +14,7 @@ command_not_found_handle () {
 	[ ! -S /var/run/dbus/system_bus_socket ] && runcnf=0
 
 	# don't run if packagekitd doesn't exist in the _system_ root
-	[ ! -x /usr/sbin/packagekitd ] && runcnf=0
+	[ ! -x /usr/libexec/packagekitd ] && runcnf=0
 
 	# run the command, or just print a warning
 	if [ $runcnf -eq 1 ]; then
-- 
1.7.4.1