1 self
.description
= "Replace one package with another providing it"
6 self
.addpkg2db("sync", sp
)
9 self
.addpkg2db("local", lp
)
13 self
.addpkg2db("local", lp1
)
17 self
.addpkg2db("local", lp2
)
19 self
.args
= "-S %s --ask=4" % sp
.name
21 self
.addrule("PACMAN_RETCODE=0")
22 self
.addrule("!PKG_EXIST=foo")
23 self
.addrule("PKG_EXIST=bar")
24 self
.addrule("PKG_EXIST=pkg1")
25 self
.addrule("PKG_EXIST=pkg2")