Why in stock Ubuntu and not Kubuntu, I think is because the offending code is inside functions that are named as though only KDE is supposed to use them. For example, the default browser break is inside a function named `check_browser_kde()`. There might be some logic to determine that your stock Ubuntu, even if it is currently running a KDE session, supports testing via the gnome code paths: i.e. via `check_browser_gnome()`
With regards to bash specifics inside a project declaring /bin/sh as the interpreter I would guess it is a bug that has crept through without being caught. The upstream project likely wants to remain portable and not rely on BASH so they probably should drop the BASH-isms. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1970594 Title: "xdg-settings check default-web-browser something.desktop" fails in Kubuntu 22.04: Bad substitution To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kubuntu-meta/+bug/1970594/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs