>>>>> Russ Allbery <r...@debian.org> writes:

[…]

 > It's an improvement.  Guillem makes a good argument that you should
 > drop deconfigure as well, which means that:

 > if [ "$1" = "remove" ] ; then
 >     update-alternatives --remove <foo> <path-to-foo>
 > fi

 > is probably the best thing to use right now.

[…]

 > (Note that while common, I've never been fond of that case statement
 > construction, since it means that we can't introduce new maintainer
 > script actions without modifying lots of maintainer scripts that may
 > not need to be modified otherwise.)

        ?  How is the ‘if’ statement above different to, say:

case "$1" in
    (remove)
        update-alternatives --remove <foo> <path-to-foo>
        ;;
esac

-- 
FSF associate member #7257


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/86wqz1k2nb....@gray.siamics.net

Reply via email to