mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-10 11:35:00 -05:00
11 lines
257 B
Python
11 lines
257 B
Python
|
# If someone else can come up with a better name, please do so
|
||
|
self.description = "Remove a package listed 5 times"
|
||
|
|
||
|
p = pmpkg("foo")
|
||
|
self.addpkg2db("local", p)
|
||
|
|
||
|
self.args = "-R " + "foo "*5
|
||
|
|
||
|
self.addrule("PACMAN_RETCODE=0")
|
||
|
self.addrule("!PKG_EXISTS=foo")
|