I suppose that would work (although I haven't actually tested to confirm, but it looks correct and I'm trusting your shell-fu). The real questions are:
* why is this working in stock Ubuntu (where /bin/sh is also a symlink to dash) and not in Kubuntu? * why does the upstream project declare /bin/sh as the default interpreter for xdg-settings, yet use bash-specific string manipulation functions? -- 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 [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
