The problem is not the fact alternation. It's that I messed up the alternation in a91d199ab1da3004cf3744d7087a32c91097a16e and there's one extra "/" i.e. the rule is about @{HOME}/.local//share (note the "//").
I've reproduced the bug locally and this fixes it for me:
The problem is not the fact alternation. It's that I messed up the alternation in a91d199ab1da300 4cf3744d7087a32 c91097a16e and there's one extra "/" i.e. the rule is about @{HOME} /.local/ /share (note the "//").
I've reproduced the bug locally and this fixes it for me:
-@{user_share_dirs} = @{HOME} /.local/ {,share/ @{flatpak_ exports_ root}}/ share /.local{ ,/share/ @{flatpak_ exports_ root}}/ share
+@{user_share_dirs} = @{HOME}
I'll submit a MR.