Bug#487947: postinst bug re: 10texlive-base.cnf
Package: texlive-base
Version: 2007.dfsg.1-1
Severity: minor
Tags: patch
There's a minor bug in the postinst when trying to add a comment to
/etc/texmf/fmt.d/10texlive-base.cnf, the following patch fixes it.
The files ends up on stdout rather than modified.
--- texlive-base.postinst.orig 2008-06-25 12:36:44.000000000 +0200
+++ texlive-base.postinst 2008-06-25 12:36:59.000000000 +0200
@@ -124,7 +124,7 @@
# now put a remark into the file and remove it.
if [ $filechanged -eq 1 ]; then
- sed -e "/# -_- DebPkgProvidedMaps -_-/ a \
+ sed -i -e "/# -_- DebPkgProvidedMaps -_-/ a \
# this file has been changed by the postinst script. User-changes from
# 10texlive-base-bin.cnf have been taken over to the new conffile." $newfile
fi
Cheers,
Julien
Reply to: