1 # TODO: these are labeled as database packages because they sure seem to me to
2 # be database-type operations. In their current implementation however they are
3 # calling -U and -R rather than -D. Obviously the tests will need to be updated
5 self
.description
= "Remove a package with --dbonly, no files touched"
8 p
.files
= ["bin/dummy",
9 "usr/man/man1/dummy.1"]
10 self
.addpkg2db("local", p
)
12 self
.args
= "-R --dbonly %s" % p
.name
14 self
.addrule("PACMAN_RETCODE=0")
15 self
.addrule("!PKG_EXIST=dummy")
17 self
.addrule("FILE_EXIST=%s" % f
)