[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: texlive-base: file remnant in /etc/texmf/fmt.d/



Hi Norbert,

thank you for looking at this. I vote for your second suggestion.

Norbert Preining wrote, on 07/13/10 10:26:
<snip>
> I'm not sure what we should one do now:
> - let the bug report rot away: I don't see the need to remove a conf file
>   which we have changed
> - make the code more intelligent and do not keep the backup in case there
>   were no changes necessary
> - remove the backup code at all (note that it is there only for people 
>   who upgraded from oldstable to stable to unstable a t a certain point,
>   at least AFAIR)
<snip>

Maybe something like the code snippet in the attached text could be build into
the preinst script of texlive-base.

-- 
Best regards,
Jörg-Volker.
cnffile=/etc/texmf/fmt.d/10texlive-base.cnf
if [ -r "$cnffile" ] && [ -n "$(sed -n '/^# The following added lines have been transferred from/ {p;q}' $cnffile)" ]; then
  sed --in-place=pre-edit '
    /^# The following added lines have been transferred from/ {
...
    }
  ' $cnffile
fi


Reply to: