[Piuparts-commits] [piuparts] 01/01: scripts/pre_remove_exceptions: a bit cleaner cleanup
Holger Levsen
holger at moszumanska.debian.org
Thu May 29 11:07:37 UTC 2014
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit f3905e05d0a46cd944adaf3677c47bbc36950deb
Author: Holger Levsen <holger at layer-acht.org>
Date: Thu May 29 13:07:24 2014 +0200
scripts/pre_remove_exceptions: a bit cleaner cleanup
---
custom-scripts/scripts/pre_remove_exceptions | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/custom-scripts/scripts/pre_remove_exceptions b/custom-scripts/scripts/pre_remove_exceptions
index b730b49..aaf71b2 100755
--- a/custom-scripts/scripts/pre_remove_exceptions
+++ b/custom-scripts/scripts/pre_remove_exceptions
@@ -16,10 +16,11 @@ case ${PIUPARTS_OBJECTS%%=*} in
rm -fv /etc/isdn/*
fi
;;
- apt-listbugs) log_debug
- # cleanup from post_install_exceptions
- dpkg-divert --remove /usr/sbin/apt-listbugs
- rm /usr/sbin/apt-listbugs.distrib
+ apt-listbugs)
+ log_debug
+ # cleanup from post_install_exceptions
+ rm -f /usr/sbin/apt-listbugs
+ dpkg-divert --remove --rename /usr/sbin/apt-listbugs
;;
esac
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git
More information about the Piuparts-commits
mailing list