[Pkg-lyx-devel] Bug#454713: Bug#454713: lyx-common -- Doesn't purge all files after piuparts Install+Upgrade+Purge test

Sven Hoexter sven at timegate.de
Fri Dec 7 19:23:27 UTC 2007


On Fri, Dec 07, 2007 at 02:45:46PM +0530, Kumar Appaiah wrote:

Hi,

> I have been analyzing packages for the piuparts test, and have
> observed that lyx-common fails the piuparts because it doesn't purge
> some files.

> seems to let the following files remain unremoved:
> 
>    /etc/lyxrc     owned by: lyx-common


r240 | pelle | 2007-02-04 17:31:48 +0100 (So, 04 Feb 2007) | 1 line

no lyxrc anymore, and conflict with lyx-{qt,xforms}


Hm is that official for 1.5? I can not remember any details nor can I find
some explicit note about the deprecation of the lyxrc.dist file.

Guess we should remove it like this?

Index: lyx.preinst
===================================================================
--- lyx.preinst (Revision 401)
+++ lyx.preinst (Arbeitskopie)
@@ -9,4 +9,8 @@
        update-alternatives --remove lyx /usr/bin/lyx-xforms
 fi

+if [ -f /etc/lyxrc ]; then
+    rm -f /etc/lyxrc
+fi
+
 #DEBHELPER#


Sven
-- 
There's no need for tears, cause there's no need to cry.
That love that you leave will never be denied.
     [ Flogging Molly - Laura ]
Gebuehrenboykott 2008 BU WTAL http://www.boykott-wuppertal.de





More information about the Pkg-lyx-devel mailing list