diff options
author | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-11-25 00:39:24 (EST) |
---|---|---|
committer | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-11-25 00:39:24 (EST) |
commit | 76bcf4ec07e560ce724744bbbc71781dee35307b (patch) | |
tree | f153d60840c3d095fe61e579aff7252f070273dc /libopkg/opkg_install.c | |
parent | a854b2c2b08ca1fd9740f714b7a68e0f47e0cb53 (diff) |
Various cleanups in opkg_remove.{c,h}
git-svn-id: http://opkg.googlecode.com/svn/trunk@373 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/opkg_install.c')
-rw-r--r-- | libopkg/opkg_install.c | 7 |
1 files changed, 2 insertions, 5 deletions
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); } |