Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37039093
en ru br
ALT Linux repos
S:0.120-alt1.qa2

Group :: System/Libraries
RPM: polkit

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: polkit-0.109-alt-helper_path.patch
Download


From a38187e2bb2cdbe40eefac09b90793f3dac247be Mon Sep 17 00:00:00 2001
From: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Date: Tue, 25 Dec 2012 18:46:07 +0400
Subject: [PATCH] Partially revert commit
 6fbcc6cd839680fcefd81c4a43676e7c031c9859.
In altlinux we still place helper in /usr/libexec/polkit-1
---
 src/polkitagent/polkitagentsession.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/polkitagent/polkitagentsession.c b/src/polkitagent/polkitagentsession.c
index 1c7a2dc..97c0c32 100644
--- a/src/polkitagent/polkitagentsession.c
+++ b/src/polkitagent/polkitagentsession.c
@@ -620,7 +620,7 @@ polkit_agent_session_initiate (PolkitAgentSession *session)
       goto error;
     }
 
-  helper_argv[0] = PACKAGE_PREFIX "/lib/polkit-1/polkit-agent-helper-1";
+  helper_argv[0] = PACKAGE_LIBEXEC_DIR "/polkit-1/polkit-agent-helper-1";
   helper_argv[1] = passwd->pw_name;
   helper_argv[2] = session->cookie;
   helper_argv[3] = NULL;
-- 
1.7.12.4
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin