On 2008-07-26 [EMAIL PROTECTED] wrote:
> Package: lynx-cur
> Version: 2.8.7dev9-1.2
> Severity: important
> My local configuration file "/etc/lynx-cur/local.cfg" was
> zeroed, when I installed lynx-cur. My "/etc/lynx-cur/local.cfg"
> was a symbolic link to /usr/local/etc/lynx.cfg.
[...]
Hello,
I can confirm the bug. Afaict the only workaround is to completely
leave /etc/lynx-cur/local.cfg alone if it is not a regular file.
Patch for that is straightforward (without re-indentation):
---------------------------
--- postinst.orig 2008-07-26 14:37:07.000000000 +0200
+++ postinst 2008-07-26 14:37:09.000000000 +0200
@@ -17,6 +17,9 @@
--slave /usr/share/man/man1/lynx.1.gz lynx.1.gz \
/usr/share/man/man1/lynx.cur.1.gz
+# do not try managing $CONFIGfile if it exists, but is not a regular file
+if test -f $CONFIGFILE || ! test -e $CONFIGFILE ; then
+
# Use debconf.
. /usr/share/debconf/confmodule
@@ -50,6 +53,8 @@
< $CONFIGFILE > $CONFIGFILE.tmp
mv -f $CONFIGFILE.tmp $CONFIGFILE
+fi
+
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
---------------------------
I think this might be considered a rc issue, I will think about NMUing
again.
cu andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]