Skip to content

Releases: TekWizely/my-alternatives

Full re-write - Support for Debian, SUSE, and RedHat : v0.7.0

10 Nov 19:31
5499123
Compare
Choose a tag to compare

Release v0.7.0

Re-Write

This release marks a full re-write of the my-alternatives tool, changing it into wrapper for update-alternatives that manages user-level configurations and uses them when invoking update-alternatives (i.e --admindir & --altdir).

This new approach makes it much easier to support all available commands for managing your custom alternatives.

RedHat

This release also includes support for RedHat.

This is significant because RedHat maintains its own implementation of update-alternatives, which is slightly different than the Debian version.

The RedHat version does not include the uber-useful --query command, making it impossible to integrate it using just the public API.

As such, supporting it requires a hack, exploiting knowledge of the tool's private internals.

SUSE

The SUSE implementation of update-alternatives is really just a re-branded version of the Debian tool.

Multiple Scripts

As part of introducing RedHat support, this release now includes two versions of the my-alternatives script, each named according to the primary OS flavor they support:

  • Debian / SUSE : my-alternatives-debian
  • RedHat / CentOS : my-alternatives-redhat

First Release : v0.5.0

27 Sep 00:27
d420e11
Compare
Choose a tag to compare

Release v0.5.0

First release and working prototype !

  • Tested on:
    • Ubuntu
      • Ubuntu 20.04.3 LTS
      • Debian update-alternatives version 1.19.7
      • Bash 5.0.17(1)-release
    • openSUSE
      • openSUSE Leap 15.3
      • SUSE update-alternatives version 1.19.0.4.
      • Bash 4.4.23(1)-release