From eb8f6e900feccc2b7667289135f821438717ec8c Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sat, 12 Oct 2013 16:47:43 +0100 Subject: Use polkit for authorisation (mga#11125) --- gurpmi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gurpmi') diff --git a/gurpmi b/gurpmi index fd07c35f..010e67c6 100755 --- a/gurpmi +++ b/gurpmi @@ -60,9 +60,9 @@ foreach (@all_rpms) { } sub proceed() { - #- we need to switch to root if we're not already (via consolehelper) + #- we need to switch to root if we're not already (via polkit) #- yes. hardcoded paths. safe. - exec $> ? '/usr/bin/gurpmi2' : '/usr/sbin/gurpmi2', @ARGV; + exec $> ? '/usr/bin/gurpmi2' : '/usr/libexec/gurpmi2', @ARGV; } #- Ask question: save or install ? -- cgit v1.2.1