summaryrefslogtreecommitdiffstats
path: root/test/pacman/pmrule.py
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-10-01 07:57:44 +0200
committerAllan McRae <allan@archlinux.org>2015-01-21 05:27:47 +0100
commit926280cfc7da5aa6d8a4e7dc60f9831176758e7e (patch)
tree4465c6d1d69d744af94fc4b80ad2da2b2db4ce16 /test/pacman/pmrule.py
parenta82a5cf3f71e38c54a5ac1b5eaf3c83374d0e515 (diff)
downloadpacman-926280cfc7da5aa6d8a4e7dc60f9831176758e7e.tar.gz
pacman-926280cfc7da5aa6d8a4e7dc60f9831176758e7e.tar.xz
remove support for .pacorig files
Leave user files in place and save new config files with a .pacnew extension. This reduces the complexity of file extraction and respects the principle that pacman shouldn't modify files it didn't create. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Diffstat (limited to 'test/pacman/pmrule.py')
-rw-r--r--test/pacman/pmrule.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/pacman/pmrule.py b/test/pacman/pmrule.py
index c2336c5d..8e6b2c0c 100644
--- a/test/pacman/pmrule.py
+++ b/test/pacman/pmrule.py
@@ -146,9 +146,6 @@ class pmrule(object):
elif case == "PACNEW":
if not os.path.isfile("%s.pacnew" % filename):
success = 0
- elif case == "PACORIG":
- if not os.path.isfile("%s.pacorig" % filename):
- success = 0
elif case == "PACSAVE":
if not os.path.isfile("%s.pacsave" % filename):
success = 0