1 self
.description
= "Install a package with an existing file (--force, new modified)"
4 p
.files
= ["etc/dummy.conf*"]
5 p
.backup
= ["etc/dummy.conf"]
8 self
.filesystem
= ["etc/dummy.conf"]
10 self
.args
= "-U --force %s" % p
.filename()
12 self
.addrule("PACMAN_RETCODE=0")
13 self
.addrule("PKG_EXIST=dummy")
14 self
.addrule("FILE_MODIFIED=etc/dummy.conf")
15 self
.addrule("!FILE_PACNEW=etc/dummy.conf")
16 self
.addrule("FILE_PACORIG=etc/dummy.conf")