diff --git a/pisi/atomicoperations.py b/pisi/atomicoperations.py index 33e1aecc..2ec61ad7 100644 --- a/pisi/atomicoperations.py +++ b/pisi/atomicoperations.py @@ -392,7 +392,7 @@ class Remove(AtomicOperation): # do not remove precious files :) # just write anything permanent="true" for instance return - if fileinfo.type == "config": + if fileinfo.type == ctx.const.conf: if os.path.isfile(fpath): os.rename(fpath, fpath + ".oldconfig") else: