a quick and very ugly fix for pacman -Qu
This commit is contained in:
parent
4834c25da4
commit
e84936b3f8
1 changed files with 2 additions and 1 deletions
|
@ -18,5 +18,6 @@ class PluginThread(plugins.PluginThreadCommon):
|
||||||
self.status['urgent'] = False
|
self.status['urgent'] = False
|
||||||
|
|
||||||
def main(self):
|
def main(self):
|
||||||
updates = subprocess.getoutput('/usr/bin/pacman -Qu').count("\n")
|
# TODO: this is an ugly hack, fix it with subprocess.Popen asap
|
||||||
|
updates = subprocess.getoutput('/usr/bin/pacman -Qu').count(" -> ")
|
||||||
self.format_status(updates)
|
self.format_status(updates)
|
||||||
|
|
Loading…
Reference in a new issue