From ce9fd3073ec57da3db0c2abc872cdc1c076c5263 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Tue, 22 Nov 2005 19:23:20 +0000 Subject: [PATCH] save old configuration files with the suffix ".oldconfig" --- pisi/atomicoperations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/atomicoperations.py b/pisi/atomicoperations.py index edcd8f54..2f80ad6e 100644 --- a/pisi/atomicoperations.py +++ b/pisi/atomicoperations.py @@ -342,7 +342,7 @@ class Remove(AtomicOperation): # we'll have a plan for these configuration files. if fileinfo.type == ctx.const.conf: if os.path.isfile(fpath): - os.rename(fpath, fpath + ".pisi") + os.rename(fpath, fpath + ".oldconfig") else: # check if file is removed manually. # And we don't remove directories!