[Pkg-lyx-devel] [SCM] LyX packaging branch, master, updated. upstream/2.0.0_beta4-529-g886e8ff

Sven Hoexter sven at timegate.de
Sat Feb 19 14:15:53 UTC 2011


The following commit has been merged in the master branch:
commit 886e8ff82b08a3713a1878aff3c26d467a628367
Author: Sven Hoexter <sven at timegate.de>
Date:   Sat Feb 19 11:25:46 2011 +0100

    Add ttf-lyx.preinst to call dpkg-maintscript-helper rm_conffile to remove the old defoma hints file.

diff --git a/debian/changelog b/debian/changelog
index f3f1392..6f7b150 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,7 +12,8 @@ lyx (2.0.0~beta4-2) UNRELEASED; urgency=low
   [ Sven Hoexter ]
   * Stop using defoma: Drop build-dep and dependency for ttf-lyx, remove
     dh_installdefoma from rules and subsequently no longer override_dh_install.
-  
+  * Add ttf-lyx.preinst to call dpkg-maintscript-helper rm_conffile
+    to remove the old defoma hints file.
 
  -- Per Olofsson <pelle at debian.org>  Mon, 07 Feb 2011 15:55:44 +0100
 
diff --git a/debian/ttf-lyx.preinst b/debian/ttf-lyx.preinst
new file mode 100644
index 0000000..379fd61
--- /dev/null
+++ b/debian/ttf-lyx.preinst
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e 
+
+CFILE='/etc/defoma/hints/ttf-lyx.hints'
+if dpkg-maintscript-helper supports rm_conffile; then
+   dpkg-maintscript-helper rm_conffile $CFILE 2.0.0~beta4-1 -- "$@"
+fi
+test -f $CFILE.dpkg-remove && rm $CFILE.dpkg-remove
+
+#DEBHELPER#
\ No newline at end of file

-- 
LyX packaging



More information about the Pkg-lyx-devel mailing list