[soqt] 04/06: Add libsoqt4-dev.prerm to remove old alternatives. (Closes: #730091).
Anton Gladky
gladk at moszumanska.debian.org
Thu Oct 16 18:58:06 UTC 2014
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch master
in repository soqt.
commit 5345733decfec091c3f23471d40ab013d5f98cf8
Author: Anton Gladky <gladk at debian.org>
Date: Wed Oct 15 20:18:17 2014 +0200
Add libsoqt4-dev.prerm to remove old alternatives. (Closes: #730091).
---
debian/libsoqt4-dev.prerm | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/debian/libsoqt4-dev.prerm b/debian/libsoqt4-dev.prerm
new file mode 100644
index 0000000..e8ff1ff
--- /dev/null
+++ b/debian/libsoqt4-dev.prerm
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+set -e
+
+if [ "$1" = "remove" ]; then
+ update-alternatives --remove soqt-dev /usr/share/Coin/conf/soqt-qt4.cfg
+ update-alternatives --remove libSoQt.a /usr/lib/libSoQt4.a
+ update-alternatives --remove libSoQt.la /usr/lib/libSoQt4.la
+ update-alternatives --remove libSoQt.so /usr/lib/libSoQt4.so
+ fi
+
+#DEBHELPER#
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/soqt.git
More information about the debian-science-commits
mailing list