This would definitely simplify our bash scripts, we currently grab the
codename with this snippet:

    #!/bin/bash
    source /etc/os-release
    IFS=' ()' read -r _ VERSION_CODENAME <<<"${VERSION}"

Thanks, Jesse

Reply via email to