On Fri, Aug 25, 2006 at 08:28:20PM +0200, Sven Joachim wrote:
So you have to deal with that in the postinst, rather. I propose the
following solution:
- Remove the call to update-alternatives from the preinst
- Put your fix in the postinst, after the call to
update-alternatives
On Fri, Aug 25, 2006 at 08:47:22PM +0200, Sven Joachim wrote:
Probably even better would be to just create the missing symlink
yourself, with
[ -e /usr/bin/yacc ] || ln -s /etc/alternatives/yacc /usr/bin
instead of
[ -e /usr/bin/yacc ] || update-alternatives --auto yacc
manual
Am 01.09.2006 um 08:20 schrieb Chuan-kai Lin:
On Fri, Aug 25, 2006 at 08:47:22PM +0200, Sven Joachim wrote:
Probably even better would be to just create the missing symlink
yourself, with
[ -e /usr/bin/yacc ] || ln -s /etc/alternatives/yacc /usr/bin
instead of
[ -e /usr/bin/yacc ] ||
Package: bison
Version: 1:2.3.dfsg-3
Severity: normal
Tags: patch
From the preinst script:
,
| # clean error from previous package.
| rm -f /usr/share/man/man1/bison.1
| update-alternatives --auto yacc
`
You are trying to fix #383971, but this is _not_ the way to do it!
If the user had
On Fri, Aug 25, 2006 at 09:05:26AM +0200, Sven Joachim wrote:
You are trying to fix #383971, but this is _not_ the way to do it!
I agree that the current approach is quite awful.
If the user had set the `yacc' alternative to manual, the preinst
script breaks that. A better way to do this
Am 25.08.2006 um 17:49 schrieb Chuan-kai Lin:
On Fri, Aug 25, 2006 at 09:05:26AM +0200, Sven Joachim wrote:
You are trying to fix #383971, but this is _not_ the way to do it!
I agree that the current approach is quite awful.
If the user had set the `yacc' alternative to manual, the preinst
Am 25.08.2006 um 20:28 schrieb Sven Joachim:
So you have to deal with that in the postinst, rather. I propose the
following solution:
- Remove the call to update-alternatives from the preinst
- Put your fix in the postinst, after the call to
update-alternatives --install:
[...]
case $1 in
7 matches
Mail list logo