mirror of
https://github.com/moparisthebest/pacman
synced 2024-10-31 23:55:04 -04:00
15 lines
328 B
Python
15 lines
328 B
Python
|
self.description = "Conflicting package names in sync repos"
|
||
|
|
||
|
sp1 = pmpkg("pkg")
|
||
|
sp1.provides = [ "provision1" ]
|
||
|
self.addpkg2db("sync1", sp1)
|
||
|
|
||
|
sp2 = pmpkg("pkg")
|
||
|
sp2.provides = [ "provision2" ]
|
||
|
self.addpkg2db("sync2", sp2)
|
||
|
|
||
|
self.args = "-S provision1 provision2"
|
||
|
|
||
|
self.addrule("PACMAN_RETCODE=1")
|
||
|
self.addrule("!PKG_EXIST=pkg")
|