mirror of
https://github.com/flatpak/flatpak.git
synced 2026-04-03 06:47:19 -04:00
env.d: Disable gvfs plugins during login
This avoids gvfs-daemon being started when logging in as root via ssh.
Bug-Debian: https://bugs.debian.org/975710
(backported from commit afe7f2bf78)
This commit is contained in:
committed by
Simon McVittie
parent
81673e42b8
commit
15e0977f0f
@@ -9,7 +9,7 @@ do
|
||||
*":$share_path/:"*) :;;
|
||||
*) new_dirs=${new_dirs:+${new_dirs}:}$share_path;;
|
||||
esac
|
||||
done < <(echo "${XDG_DATA_HOME:-"$HOME/.local/share"}/flatpak"; flatpak --installations)
|
||||
done < <(echo "${XDG_DATA_HOME:-"$HOME/.local/share"}/flatpak"; GIO_USE_VFS=local flatpak --installations)
|
||||
|
||||
XDG_DATA_DIRS="${new_dirs:+${new_dirs}:}${XDG_DATA_DIRS:-/usr/local/share:/usr/share}"
|
||||
echo "XDG_DATA_DIRS=$XDG_DATA_DIRS"
|
||||
|
||||
Reference in New Issue
Block a user