PKGBUILDs/extra/flatpak/flatpak-bindir.sh

10 lines
358 B
Bash
Raw Normal View History

2022-11-18 00:23:39 +00:00
if [ -n "$XDG_DATA_HOME" ] && [ -d "$XDG_DATA_HOME/flatpak/exports/bin" ]; then
append_path "$XDG_DATA_HOME/flatpak/exports/bin"
elif [ -n "$HOME" ] && [ -d "$HOME/.local/share/flatpak/exports/bin" ]; then
append_path "$HOME/.local/share/flatpak/exports/bin"
fi
if [ -d /var/lib/flatpak/exports/bin ]; then
append_path /var/lib/flatpak/exports/bin
fi