From 76bcf4ec07e560ce724744bbbc71781dee35307b Mon Sep 17 00:00:00 2001 From: graham.gower Date: Wed, 25 Nov 2009 00:39:24 -0500 Subject: Various cleanups in opkg_remove.{c,h} git-svn-id: http://opkg.googlecode.com/svn/trunk@373 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/opkg_install.c') diff --git a/libopkg/opkg_install.c b/libopkg/opkg_install.c index c75a8d4..6003f4f 100644 --- a/libopkg/opkg_install.c +++ b/libopkg/opkg_install.c @@ -1477,13 +1477,10 @@ opkg_install_pkg(opkg_conf_t *conf, pkg_t *pkg, int from_upgrade) " removing obsolesced files\n"); remove_obsolesced_files(conf, pkg, old_pkg); } + /* removing files from old package, to avoid ghost files */ remove_data_files_and_list(conf, old_pkg); -/* Pigi : It should be better to remove also maintainer and postrem scripts here, just in case*/ - remove_maintainer_scripts_except_postrm(conf, old_pkg); - remove_postrm(conf, old_pkg); -/* Pigi */ - + remove_maintainer_scripts(conf, old_pkg); } -- cgit v0.9.1