flatpak-bindir.sh 357 B

123456789
  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"
  5. fi
  6. if [ -d /var/lib/flatpak/exports/bin ]; then
  7. append_path /var/lib/flatpak/exports/bin
  8. fi