fix: use proper shebang line

This is the most portable shebang line and should always be used.
This commit is contained in:
Arcitec 2023-05-09 15:34:59 +02:00 committed by Eino Rauhala
parent 44660085eb
commit f24c4072fd
3 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Tell build process to exit if there are any errors.
set -ouex pipefail

View file

@ -24,7 +24,7 @@ distrobox-ubuntu:
distrobox create --image quay.io/toolbx-images/ubuntu-toolbox:22.04 -n ubuntu -Y
setup-flatpaks:
#!/bin/bash
#!/usr/bin/env bash
echo 'Installing flatpaks from the ublue recipe ...'
flatpaks=$(yq '.flatpaks[]' < /usr/etc/ublue-recipe.yml)
for pkg in $flatpaks; do \
@ -62,7 +62,7 @@ nix-me-up:
/usr/bin/ublue-nix-install
update:
#!/bin/bash
#!/usr/bin/env bash
echo "Staging system update..."
rpm-ostree update

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Tell this script to exit if there are any errors.
# You should have this in every custom script, to ensure that your completed