]> piware.de Git - bin.git/commitdiff
build-cockpit-toolbox: Forward `flatpak` command to host
authorMartin Pitt <martin@piware.de>
Tue, 20 Aug 2024 06:22:37 +0000 (08:22 +0200)
committerMartin Pitt <martin@piware.de>
Tue, 20 Aug 2024 06:22:37 +0000 (08:22 +0200)
build-cockpit-toolbox

index d42bf8e7226c8ebae3d3d7e13f324fa548028b41..8b7a87e43f792c9d46dff70aec58b86cf1b57557 100755 (executable)
@@ -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