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

Bug#66283: broken preinst(?)



On Mon, 26 Jun 2000, tj wrote:

> Package: tetex-nonfree
> Version: 1.0.2-1
> Severity: normal
> 
> Hi,

Hi Tuomas,

thanks for your bug report.

> Shouldn't the 18th line of the preinst script be
> if (@ARGV == 0 or $ARGV[0] eq 'install') {
> and not
> if (@ARGV == 0 or $ARGV[0] ne 'install') {
> like it's now? Currently installing it from scratch fails but when you
> change the line as shown above, it'll work.

Your change would work for install, but the script will fail when
upgrading the package instead. The real solution is to change the "exit 1"
at the end to "exit 0". A fixed package will be installed in a few days.

> Thanks,
> Tuomas Jormola <tj@sgic.fi>

cu,
Adrian

-- 
A "No" uttered from deepest conviction is better and greater than a
"Yes" merely uttered to please, or what is worse, to avoid trouble.
                -- Mahatma Ghandi





Reply to: