debian: add maintainer scripts to remove old startup file
authorDavid Bremner <david@tethera.net>
Thu, 3 Aug 2017 13:20:37 +0000 (09:20 -0400)
committerDavid Bremner <david@tethera.net>
Thu, 3 Aug 2017 14:42:54 +0000 (10:42 -0400)
We do it for notmuch and notmuch-emacs because the history is a bit
unclear. It seems to be safe to call when that conffile is not owned
by a given package

debian/notmuch-emacs.maintscript [new file with mode: 0644]
debian/notmuch.maintscript [new file with mode: 0644]

diff --git a/debian/notmuch-emacs.maintscript b/debian/notmuch-emacs.maintscript
new file mode 100644 (file)
index 0000000..6f93feb
--- /dev/null
@@ -0,0 +1 @@
+rm_conffile /etc/emacs/site-start.d/50notmuch.el
diff --git a/debian/notmuch.maintscript b/debian/notmuch.maintscript
new file mode 100644 (file)
index 0000000..6f93feb
--- /dev/null
@@ -0,0 +1 @@
+rm_conffile /etc/emacs/site-start.d/50notmuch.el