From 10d67c1846e8230d80a1fe4850c89c64aafe1821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0smail=20D=C3=B6nmez?= Date: Thu, 20 Oct 2005 15:31:09 +0000 Subject: [PATCH] =?UTF-8?q?install/remove=20=C3=A7al=C4=B1=C5=9Fs=C4=B1n?= =?UTF-8?q?=20laz=C4=B1m=20filan=20olur=20belkim=20:p?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pisi/atomicoperations.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pisi/atomicoperations.py b/pisi/atomicoperations.py index e3428309..81c80b44 100644 --- a/pisi/atomicoperations.py +++ b/pisi/atomicoperations.py @@ -163,7 +163,7 @@ class Install(AtomicOperation): # schedule for reinstall self.old_files = ctx.installdb.files(pkg.name) self.reinstall = True - operations.run_preremove(pkg.name) + run_preremove(pkg.name) def extract_install(self): "unzip package in place" @@ -180,7 +180,7 @@ class Install(AtomicOperation): for fileinfo in self.old_files.list: old_fileinfo[str(fileinfo.path)] = fileinfo for path in leftover: - operations.remove_file( old_fileinfo[path] ) + remove_file( old_fileinfo[path] ) def store_pisi_files(self): """put files.xml, metadata.xml, actions.py and COMAR scripts @@ -212,7 +212,7 @@ class Install(AtomicOperation): "update databases" if self.reinstall: - operations.remove_db(self.metadata.package.name) + remove_db(self.metadata.package.name) # installdb ctx.installdb.install(self.metadata.package.name,