18 lines
543 B
Bash
Executable file
18 lines
543 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
|
|
if [ -n "$XDG_DATA_HOME" ] && [ -d "$XDG_DATA_HOME/flatpak/exports/bin" ]; then
|
|
export PATH="$XDG_DATA_HOME/flatpak/exports/bin:$PATH"
|
|
fi
|
|
|
|
if [ -d /var/lib/flatpak/exports/bin ]; then
|
|
export PATH="/var/lib/flatpak/exports/bin:$PATH"
|
|
fi
|
|
|
|
if [ -n "$XDG_DATA_HOME" ] && [ -d "$XDG_DATA_HOME/flatpak/exports/share" ]; then
|
|
export XDG_DATA_DIRS="$XDG_DATA_HOME/flatpak/exports/share:$XDG_DATA_DIRS"
|
|
fi
|
|
|
|
if [ -d "/var/lib/flatpak/exports/share" ]; then
|
|
export XDG_DATA_DIRS="/var/lib/flatpak/exports/share:$XDG_DATA_DIRS"
|
|
fi
|