.new -> .newconfig

This commit is contained in:
Faik Uygur
2006-06-27 12:20:44 +00:00
parent a204cc2802
commit f2408a5598
+3 -3
View File
@@ -320,9 +320,9 @@ class Install(AtomicOperation):
self.package.extract_install(ctx.config.dest_dir()) self.package.extract_install(ctx.config.dest_dir())
for path in config_changed: for path in config_changed:
if os.path.exists(path + '.new'): if os.path.exists(path + '.newconfig'):
os.unlink(path + '.new') os.unlink(path + '.newconfig')
os.rename(path, path + '.new') os.rename(path, path + '.newconfig')
os.rename(path + '.old', path) os.rename(path + '.old', path)
def store_pisi_files(self): def store_pisi_files(self):