]> piware.de Git - bin.git/blobdiff - build-cockpit-toolbox
build-cockpit-toolbox: Add hashbang to flatpak-spawn wrappers
[bin.git] / build-cockpit-toolbox
index 3cd6980826c559249cb06f4a997e08a7b05fb264..222d4b501a1630420fce19aa0e5ade5c6dc65977 100755 (executable)
@@ -18,15 +18,16 @@ sudo sed -i s/nodocs// /etc/dnf/dnf.conf
 
 sudo dnf install -y ansible bash-completion man-db man-pages moreutils fd-find ripgrep gh git-delta neovim \
     python3-boto python3-boto3 python3-openstacksdk python3-pytest-asyncio libnotify \
+    python3-mypy \
     simple-scan /usr/bin/scanimage /usr/bin/pngquant /usr/bin/convert pdfmerge \
     cargo rustfmt clippy \
     calibre qt5-qtwayland \
     dbus-daemon tmt tmt-provision-virtual flatpak-builder flatpak-spawn \
-    centpkg
+    fedpkg centpkg
 
 # 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
 '