Skip to content
Snippets Groups Projects
Commit 584a3953 authored by nimrod's avatar nimrod
Browse files

Deal with gio open inside a toolbox container.

parent f9a9c81f
Branches
No related tags found
No related merge requests found
...@@ -397,6 +397,7 @@ fi ...@@ -397,6 +397,7 @@ fi
if [ "$HOSTNAME" = 'toolbox' ] if [ "$HOSTNAME" = 'toolbox' ]
then then
alias flatpak-spawn='/usr/libexec/flatpak-xdg-utils/flatpak-spawn --host' alias flatpak-spawn='/usr/libexec/flatpak-xdg-utils/flatpak-spawn --host'
gio () { /usr/libexec/flatpak-xdg-utils/flatpak-spawn --host gio "$@"; }
[ ! -S "$XDG_RUNTIME_DIR/podman/podman.sock" ] || [ ! -S "$XDG_RUNTIME_DIR/podman/podman.sock" ] ||
[ ! -w "$XDG_RUNTIME_DIR/podman/podman.sock" ] || [ ! -w "$XDG_RUNTIME_DIR/podman/podman.sock" ] ||
alias podman='podman --remote' alias podman='podman --remote'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment