Skip to content

Commit caa2e27

Browse files
authored
Merge pull request #38 from dexgs/master
Fix notifier not showing updates
2 parents 7945516 + 6dd5d95 commit caa2e27

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

notifier/mainwindow.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,6 @@ void MainWindow::startPkexec()
571571
QProcess *xbps = new QProcess();
572572
connect(xbps, SIGNAL(finished(int)), this, SLOT(finishedPkexec(int)));
573573
QStringList sl;
574-
sl << ctn_OCTOXBPS_SUDO_PARAMS;
575574
sl << QStringLiteral("/usr/bin/xbps-install");
576575
sl << QStringLiteral("-Sy");
577576
xbps->start("pkexec", sl);

notifier/polkit/49-nopasswd_limited_xbps_install_sync.rules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
* without password authentication, similar to "sudo NOPASSWD:"
33
*/
44
polkit.addRule(function(action, subject) {
5-
if ((action.id == "org.freedesktop.policykit.pkexec.run-xbpsinstall" &&
5+
if (action.id == "org.freedesktop.policykit.pkexec.run-xbpsinstall" &&
66
subject.isInGroup("wheel"))
77
{
88
return polkit.Result.YES;
99
}
10-
});
10+
});

0 commit comments

Comments
 (0)