[Pkg-lyx-devel] svn commit: r243 - /lyx/branches/lyx-1.5/debian/lyx.preinst

pelle at users.alioth.debian.org pelle at users.alioth.debian.org
Tue Feb 6 18:03:54 CET 2007


Author: pelle
Date: Tue Feb  6 18:03:53 2007
New Revision: 243

URL: http://svn.debian.org/wsvn/pkg-lyx/?sc=1&rev=243
Log:
remove old alternatives in lyx's preinst to avoid file conflicts

Modified:
    lyx/branches/lyx-1.5/debian/lyx.preinst

Modified: lyx/branches/lyx-1.5/debian/lyx.preinst
URL: http://svn.debian.org/wsvn/pkg-lyx/lyx/branches/lyx-1.5/debian/lyx.preinst?rev=243&op=diff
==============================================================================
--- lyx/branches/lyx-1.5/debian/lyx.preinst (original)
+++ lyx/branches/lyx-1.5/debian/lyx.preinst Tue Feb  6 18:03:53 2007
@@ -4,4 +4,9 @@
     rm -rf /usr/share/doc/lyx
 fi
 
+if readlink /usr/bin/lyx >/dev/null; then
+	update-alternatives --remove lyx /usr/bin/lyx-qt
+	update-alternatives --remove lyx /usr/bin/lyx-xforms
+fi
+
 #DEBHELPER#




More information about the Pkg-lyx-devel mailing list