[Pkg-lyx-devel] [SCM] LyX packaging branch, master, updated. 6c2279d2a329e60eeecf5436981da1fe0f39c630
Per Olofsson
pelle at dsv.su.se
Thu Jul 23 08:56:59 UTC 2009
The following commit has been merged in the master branch:
commit 6c2279d2a329e60eeecf5436981da1fe0f39c630
Author: Per Olofsson <pelle at dsv.su.se>
Date: Thu Jul 23 10:56:54 2009 +0200
Check if latex-xft-fonts.hints exists before purging it with defoma.
diff --git a/debian/changelog b/debian/changelog
index e31b9a9..fc8a9cc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+lyx (1.6.3-5) UNRELEASED; urgency=low
+
+ * Check if latex-xft-fonts.hints exists before purging it with defoma.
+
+ -- Per Olofsson <pelle at debian.org> Thu, 23 Jul 2009 10:54:57 +0200
+
lyx (1.6.3-4) unstable; urgency=low
* Make latex-xft-fonts priority extra, correcting override disparity.
diff --git a/debian/latex-xft-fonts.preinst b/debian/latex-xft-fonts.preinst
index 71511ab..5cc89b5 100644
--- a/debian/latex-xft-fonts.preinst
+++ b/debian/latex-xft-fonts.preinst
@@ -25,7 +25,8 @@ hintsfile=/etc/defoma/hints/latex-xft-fonts.hints
case "$1" in
install|upgrade)
if dpkg --compare-versions "$2" le "0.1-8"; then
- if [ -x "`which defoma-font 2>/dev/null`" ]; then
+ if [ -x "`which defoma-font 2>/dev/null`" ] && \
+ [ -f $hintsfile ]; then
defoma-font purge-all $hintsfile
fi
--
LyX packaging
More information about the Pkg-lyx-devel
mailing list