1 self
.description
= "Cascade remove a package required by another package"
4 lp1
.depends
= ["imaginary"]
5 self
.addpkg2db("local", lp1
)
8 lp2
.provides
= ["imaginary"]
9 self
.addpkg2db("local", lp2
)
11 self
.args
= "-Rc %s" % lp2
.name
13 self
.addrule("PACMAN_RETCODE=0")
14 self
.addrule("!PKG_EXIST=pkg1")
15 self
.addrule("!PKG_EXIST=pkg2")