index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2013-11-05 11:29:55 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-11-15 11:02:27 +1000 |
commit | d78f45ae0c11fb19a1a0bf30728386e9febe0705 (patch) | |
tree | 18f10fbb3f48b328bbfbd15ea172f1371913c086 /lib/libalpm/remove.c | |
parent | ea6aeef8bae01d934cb4aab6d915e0e3e8276df1 (diff) |
-rw-r--r-- | lib/libalpm/remove.c | 5 |
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index 7237a567..e745d89f 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -687,6 +687,11 @@ int _alpm_remove_single_package(alpm_handle_t *handle, remove_package_files(handle, oldpkg, newpkg, targ_count, pkg_count); } + if(!newpkg) { + alpm_logaction(handle, ALPM_CALLER_PREFIX, "removed %s (%s)\n", + oldpkg->name, oldpkg->version); + } + /* run the post-remove script if it exists */ if(!newpkg && alpm_pkg_has_scriptlet(oldpkg) && !(handle->trans->flags & ALPM_TRANS_FLAG_NOSCRIPTLET)) { |