summaryrefslogtreecommitdiffstats
path: root/gurpmi
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-12 16:47:43 +0100
committerColin Guthrie <colin@mageia.org>2013-10-12 17:44:09 +0100
commiteb8f6e900feccc2b7667289135f821438717ec8c (patch)
tree8f55d31bb65192ca7d56190aaf61f29eec6bed4f /gurpmi
parent6c4ae17acfb5159eeac92b92fdca112ca2ede4ec (diff)
downloadurpmi-eb8f6e900feccc2b7667289135f821438717ec8c.tar
urpmi-eb8f6e900feccc2b7667289135f821438717ec8c.tar.gz
urpmi-eb8f6e900feccc2b7667289135f821438717ec8c.tar.bz2
urpmi-eb8f6e900feccc2b7667289135f821438717ec8c.tar.xz
urpmi-eb8f6e900feccc2b7667289135f821438717ec8c.zip
Use polkit for authorisation (mga#11125)
Diffstat (limited to 'gurpmi')
-rwxr-xr-xgurpmi4
1 files changed, 2 insertions, 2 deletions
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 ?