maybe chmod 0755 'X11/Xsession.d'
maybe chmod 0644 'X11/Xsession.d/01gtk3-nocsd'
maybe chmod 0644 'X11/Xsession.d/20dbus_xdg-runtime'
-maybe chmod 0644 'X11/Xsession.d/20flatpak'
maybe chmod 0644 'X11/Xsession.d/20x11-common_process-args'
maybe chmod 0644 'X11/Xsession.d/30x11-common_xresources'
maybe chmod 0644 'X11/Xsession.d/35x11-common_xhost-local'
maybe chmod 0644 'profile.d/apps-bin-path.sh'
maybe chmod 0644 'profile.d/bash_completion.sh'
maybe chmod 0644 'profile.d/cedilla-portuguese.sh'
-maybe chmod 0644 'profile.d/flatpak.sh'
maybe chmod 0644 'profile.d/gawk.csh'
maybe chmod 0644 'profile.d/gawk.sh'
maybe chmod 0644 'profile.d/im-config_wayland.sh'
+++ /dev/null
-if command -v flatpak > /dev/null; then
- # set XDG_DATA_DIRS to include Flatpak installations
-
- new_dirs=$(
- (
- unset G_MESSAGES_DEBUG
- echo "${XDG_DATA_HOME:-"$HOME/.local/share"}/flatpak"
- flatpak --installations
- ) | (
- new_dirs=
- while read -r install_path
- do
- share_path=$install_path/exports/share
- case ":$XDG_DATA_DIRS:" in
- (*":$share_path:"*) :;;
- (*":$share_path/:"*) :;;
- (*) new_dirs=${new_dirs:+${new_dirs}:}$share_path;;
- esac
- done
- echo "$new_dirs"
- )
- )
-
- export XDG_DATA_DIRS
- XDG_DATA_DIRS="${new_dirs:+${new_dirs}:}${XDG_DATA_DIRS:-/usr/local/share:/usr/share}"
-fi
+++ /dev/null
-if command -v flatpak > /dev/null; then
- # set XDG_DATA_DIRS to include Flatpak installations
-
- new_dirs=$(
- (
- unset G_MESSAGES_DEBUG
- echo "${XDG_DATA_HOME:-"$HOME/.local/share"}/flatpak"
- flatpak --installations
- ) | (
- new_dirs=
- while read -r install_path
- do
- share_path=$install_path/exports/share
- case ":$XDG_DATA_DIRS:" in
- (*":$share_path:"*) :;;
- (*":$share_path/:"*) :;;
- (*) new_dirs=${new_dirs:+${new_dirs}:}$share_path;;
- esac
- done
- echo "$new_dirs"
- )
- )
-
- export XDG_DATA_DIRS
- XDG_DATA_DIRS="${new_dirs:+${new_dirs}:}${XDG_DATA_DIRS:-/usr/local/share:/usr/share}"
-fi