From 4d01187680b74ac19d8e3a2ef7ec28210bdce58b Mon Sep 17 00:00:00 2001 From: Modestas Vainius Date: Sat, 4 Aug 2012 10:40:42 +0300 Subject: [PATCH] Remove obsolete /etc/emacs/site-start.d/50cmake.el conffile. It predates predates squeeze. (Closes: #681625) --- debian/changelog | 2 ++ debian/cmake.postinst | 3 +++ debian/cmake.postrm | 8 ++++++++ debian/cmake.preinst | 8 ++++++++ 4 files changed, 21 insertions(+) create mode 100755 debian/cmake.postrm create mode 100755 debian/cmake.preinst diff --git a/debian/changelog b/debian/changelog index ff12b4a49..73aea10fa 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ cmake (2.8.9~rc3-1) UNRELEASED; urgency=low * New upstream release: - fixes COMPONENT option. (Closes: #681428) + * Remove obsolete /etc/emacs/site-start.d/50cmake.el conffile (predates + squeeze). (Closes: #681625) -- Modestas Vainius Sat, 04 Aug 2012 10:26:34 +0300 diff --git a/debian/cmake.postinst b/debian/cmake.postinst index 2734aab9c..e1916881c 100644 --- a/debian/cmake.postinst +++ b/debian/cmake.postinst @@ -14,4 +14,7 @@ then ln -s "cmake-data" "$docdir" fi +# Remove obsolete 50cmake.el +dpkg-maintscript-helper rm_conffile /etc/emacs/site-start.d/50cmake.el 2.8.9~rc3-1~ cmake -- "$@" + #DEBHELPER# diff --git a/debian/cmake.postrm b/debian/cmake.postrm new file mode 100755 index 000000000..c2619c333 --- /dev/null +++ b/debian/cmake.postrm @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +# Remove obsolete 50cmake.el +dpkg-maintscript-helper rm_conffile /etc/emacs/site-start.d/50cmake.el 2.8.9~rc3-1~ cmake -- "$@" + +#DEBHELPER# diff --git a/debian/cmake.preinst b/debian/cmake.preinst new file mode 100755 index 000000000..c2619c333 --- /dev/null +++ b/debian/cmake.preinst @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +# Remove obsolete 50cmake.el +dpkg-maintscript-helper rm_conffile /etc/emacs/site-start.d/50cmake.el 2.8.9~rc3-1~ cmake -- "$@" + +#DEBHELPER#