1 self
.description
= "Remove a package required by other packages"
4 self
.addpkg2db("local", lp1
)
8 self
.addpkg2db("local", lp2
)
11 lp3
.depends
= ["pkg1"]
12 self
.addpkg2db("local", lp3
)
15 lp4
.depends
= ["pkg1"]
16 self
.addpkg2db("local", lp4
)
18 self
.args
= "-R pkg1 pkg2"
20 self
.addrule("!PACMAN_RETCODE=0")
21 self
.addrule("PKG_EXIST=pkg1")
22 self
.addrule("PKG_EXIST=pkg2")
23 self
.addrule("PKG_EXIST=pkg3")
24 self
.addrule("PKG_EXIST=pkg4")