From: Martin Pitt Date: Tue, 20 Aug 2024 06:22:37 +0000 (+0200) Subject: build-cockpit-toolbox: Forward `flatpak` command to host X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=d40a0216458d7e4cd489eff3174a1a2120c4569a;p=bin.git build-cockpit-toolbox: Forward `flatpak` command to host --- diff --git a/build-cockpit-toolbox b/build-cockpit-toolbox index d42bf8e..8b7a87e 100755 --- a/build-cockpit-toolbox +++ b/build-cockpit-toolbox @@ -28,7 +28,7 @@ sudo dnf install -y ansible bash-completion man-db man-pages moreutils fd-find r sudo dnf install -y libglvnd-gles # commands to forward to the host -for cmd in podman toolbox nmcli eog evince; do +for cmd in podman toolbox nmcli eog evince flatpak; do printf "#!/bin/sh\nexec flatpak-spawn --host $cmd \42\$@\42\n" | sudo tee /usr/local/bin/$cmd >/dev/null sudo chmod a+x /usr/local/bin/$cmd done