swupd-client
swupd-client copied to clipboard
3rd-party: Export resources from 3rd-party /usr/share directory
Some 3rd-party bundles may want to export resources on /usr/share to be used by other applications installed in the system. We need to export this files in a way that is similar to what's done for binaries and configure the correct env variables (like XDG_CONFIG_DIRS and XDG_DATA_DIRS).
Related to #1420
Example: https://github.com/clearlinux/swupd-client/issues/1443#issuecomment-614907669