[Pkg-lyx-devel] svn commit: r389 - in /lyx/trunk/debian: changelog lyx-common.postinst

pelle at users.alioth.debian.org pelle at users.alioth.debian.org
Thu Oct 25 21:47:02 UTC 2007


Author: pelle
Date: Thu Oct 25 21:47:02 2007
New Revision: 389

URL: http://svn.debian.org/wsvn/pkg-lyx/?sc=1&rev=389
Log:
* Check if texhash exists before running it in postinst.

Modified:
    lyx/trunk/debian/changelog
    lyx/trunk/debian/lyx-common.postinst

Modified: lyx/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-lyx/lyx/trunk/debian/changelog?rev=389&op=diff
==============================================================================
--- lyx/trunk/debian/changelog (original)
+++ lyx/trunk/debian/changelog Thu Oct 25 21:47:02 2007
@@ -9,8 +9,9 @@
   * CFLAGS -> CXXFLAGS in debian/rules.
   * Don't replace config.guess (not needed), and clean up debian/rules a
     bit.
-
- -- Per Olofsson <pelle at debian.org>  Thu, 25 Oct 2007 20:41:06 +0200
+  * Check if texhash exists before running it in postinst.
+
+ -- Per Olofsson <pelle at debian.org>  Thu, 25 Oct 2007 23:46:30 +0200
 
 lyx (1.5.1-2) unstable; urgency=low
 

Modified: lyx/trunk/debian/lyx-common.postinst
URL: http://svn.debian.org/wsvn/pkg-lyx/lyx/trunk/debian/lyx-common.postinst?rev=389&op=diff
==============================================================================
--- lyx/trunk/debian/lyx-common.postinst (original)
+++ lyx/trunk/debian/lyx-common.postinst Thu Oct 25 21:47:02 2007
@@ -7,7 +7,7 @@
 	fi
 }
 
-if [ "$1" = configure ]; then
+if [ "$1" = configure ] && [ -x "`which texhash 2>/dev/null`" ]; then
 	texhash
 fi
 




More information about the Pkg-lyx-devel mailing list