Michael Stapelberg <stapelb...@debian.org> writes:
>
> Hi Kevin,
>
> Kevin Ryde <use...@zip.com.au> writes:
>>
>> (I've thought an install script might have three classes, flavours which
>> work, flavours which don't work, and unknown flavours for which give a
>> try byte compiling and allow if it seems to work ...)
> Can you send a patch for this please?

Done manually it can be as simple as something like
/usr/lib/emacsen-common/packages/install/golang-mode

    case $FLAVOR in
        emacs|emacs19|emacs20|emacs21)
            exit 0
            ;;
    esac

if for example emacs21 and earlier is no good.  I don't know anyone
attempting a "use it if it works" style, but it could be just watch the
exit code of the byte compile and remove the .elc's if fail.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to