mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-02 08:35:06 -04:00
11 lines
239 B
Python
11 lines
239 B
Python
|
self.description = "Remove a package with a broken required by"
|
||
|
|
||
|
lp1 = pmpkg("pkg1")
|
||
|
lp1.requiredby = [ "dep" ]
|
||
|
self.addpkg2db("local", lp1)
|
||
|
|
||
|
self.args = "-R %s" % lp1.name
|
||
|
|
||
|
self.addrule("PACMAN_RETCODE=0")
|
||
|
self.addrule("!PKG_EXIST=pkg1")
|