X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=build-cockpit-toolbox;fp=build-cockpit-toolbox;h=222d4b501a1630420fce19aa0e5ade5c6dc65977;hp=deff276a2d2e7fb9766569113fc7c26b8ffc4c84;hb=f0dbdd6aa6ead8bd28afe703e65d8e177b2dc428;hpb=986919e19b9b9569d025aa3c4ec136d9dfaed630 diff --git a/build-cockpit-toolbox b/build-cockpit-toolbox index deff276..222d4b5 100755 --- a/build-cockpit-toolbox +++ b/build-cockpit-toolbox @@ -27,7 +27,7 @@ sudo dnf install -y ansible bash-completion man-db man-pages moreutils fd-find r # commands to forward to the host for cmd in podman toolbox nmcli eog evince; do - printf "flatpak-spawn --host $cmd \42\$@\42\n" | sudo tee /usr/local/bin/$cmd >/dev/null + 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 '