1 if [ -n "$XDG_DATA_HOME" ] && [ -d "$XDG_DATA_HOME/flatpak/exports/bin" ]; then
2 append_path
"$XDG_DATA_HOME/flatpak/exports/bin"
3 elif [ -n "$HOME" ] && [ -d "$HOME/.local/share/flatpak/exports/bin" ]; then
4 append_path
"$HOME/.local/share/flatpak/exports/bin"
7 if [ -d /var
/lib
/flatpak
/exports
/bin
]; then
8 append_path
/var
/lib
/flatpak
/exports
/bin