]> piware.de Git - bin.git/blobdiff - build-cockpit-toolbox
build-cockpit-toolbox: Add hashbang to flatpak-spawn wrappers
[bin.git] / build-cockpit-toolbox
index c22b5401cb8d93c89041f3f6d141fe2649ef7153..222d4b501a1630420fce19aa0e5ade5c6dc65977 100755 (executable)
@@ -16,16 +16,18 @@ sudo hostname -F /etc/hostname
 # enable manpages
 sudo sed -i s/nodocs// /etc/dnf/dnf.conf
 
-sudo dnf install -y ansible man-db man-pages moreutils fd-find ripgrep gh git-delta neovim \
-    python3-boto python3-boto3 python3-openstacksdk python3-pytest libnotify \
+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 \
-    chromium dbus-daemon tmt tmt-provision-virtual flatpak-builder flatpak-spawn
+    dbus-daemon tmt tmt-provision-virtual flatpak-builder flatpak-spawn \
+    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
 '