summaryrefslogtreecommitdiff
path: root/src/remove.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/remove.c')
-rw-r--r--src/remove.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/remove.c b/src/remove.c
index 6dbf1a18c..8964de7c3 100644
--- a/src/remove.c
+++ b/src/remove.c
@@ -162,6 +162,7 @@ void deferred_remove(struct pkginfo *pkg) {
oldconffsetflags(pkg->installed.conffiles);
printf(_("Removing %s ...\n"),pkg->name);
+ log_action("remove", pkg);
if (pkg->status == stat_halfconfigured || pkg->status == stat_installed) {
if (pkg->status == stat_installed || pkg->status == stat_halfconfigured) {
@@ -391,6 +392,7 @@ static void removal_bulk_remove_configfiles(struct pkginfo *pkg) {
const char *const *ext;
printf(_("Purging configuration files for %s ...\n"),pkg->name);
+ log_action("purge", pkg);
ensure_packagefiles_available(pkg); /* We may have modified this above. */
/* We're about to remove the configuration, so remove the note