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

Re: Bug#144036: penguineyes-gnome: uses debconf in preinst but does not pre-depends it



Em Mon, 22 Apr 2002 21:42:51 +0900 (JST), Oohara Yuuma
<oohara@libra.interq.or.jp> escreveu:

> penguineyes and penguineyes-gnome uses debconf in their preinst:
that's probably because the previous maintainer was quite dumb
(it was me =P)


> case $1 in
>         upgrade|install)
>         if [ -n "$2" ]; then
>             if dpkg --compare-versions "$2" \<= 0.10-15 && \
>                 dpkg --compare-versions "$2" \>= 0.10-5 ; then
>                 . /usr/share/debconf/confmodule
>                 db_unregister penguineyes/theme
>             fi
>         fi
>         ;;
> esac
> 
> This _seems_ to be a fix for #122809 (I adopted penguineyes recently and
> don't know what happened to it).  What should I do?  Pre-Depends: debconf
> (>= 0.2.17), move db_unregister to postinst or something else?

you may probably move that to postinst... that's just to remove debconf
stuff that may be left in the user's system... penguineyes used to have
a debconf question that is not used anymore... that code was written
to assure no trash would be left when penguineyes would be upgraded

[]s!

-- 
kov@debian.org: Gustavo Noronha <http://people.debian.org/~kov>
Debian: <http://www.debian.org> * <http://debian-br.cipsga.org.br>


-- 
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: