On 2024-12-19 22:46, Michael Tokarev via Postfix-users wrote:
> 
> I'm mostly asking about the approach, if it is okay with you if some
> distribution is to modify code like this, adding a custom subcommand.

And then you're going to watch this list and respond accordingly? ;)

At least add a note this is distro-specific...

> Besides usage of ${c%%.*} (to strip off everything but the major
> version from compatibility_level, which an be done using sed),
> there's no bashisms in there.

This seems wrong:

        if [ ! "$set" ]; then

- while $set is [yn]:

$ [ ! "y" ] && echo x
$ [ ! "n" ] && echo x
$
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to