help-shishi
[Top][All Lists]
Advanced

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

Re: Debian shishi package bug


From: Russ Allbery
Subject: Re: Debian shishi package bug
Date: Tue, 25 Apr 2006 20:22:40 -0700
User-agent: Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.18 (linux)

Elrond <address@hidden> writes:
> On Tue, Apr 25, 2006 at 11:40:33AM +0200, Simon Josefsson wrote:

>> Ok, good.  There isn't a way to only make those parts of the package
>> install process only apply to upgrades from 0.0.23-1, is there?

>       dpkg --compare-version.
>       grep compare-version /var/lib/dpkg/info/*

> The later will flood you with hundreds of example usages.

You can do something like this if you really want to, but I don't have
0.0.23-1 packages left to test it with any more and wouldn't want to use
it without testing it.  I do know that what we have now works since I was
able to test an upgrade from 0.0.23-1 with it.

I'd rather just leave it alone for a few months and then drop it.

# Figure out if we're dealing with the possibly failing case.
ignore=false
if [ "$1" = "failed-upgrade" ] && dpkg --compare-versions "$2" lt "0.0.24" ;
then
    ignore=true
fi

maybe_ignore_failure () {
    status=$?
    if [ "$ignore" = "true" ] ; then
        true
    else
        exit "$status"
    fi
}

-- 
Russ Allbery (address@hidden)             <http://www.eyrie.org/~eagle/>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]