mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
10 lines
358 B
Bash
10 lines
358 B
Bash
|
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
|