fix: use proper shebang line
This is the most portable shebang line and should always be used.
This commit is contained in:
2
build.sh
2
build.sh
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Tell build process to exit if there are any errors.
|
# Tell build process to exit if there are any errors.
|
||||||
set -ouex pipefail
|
set -ouex pipefail
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ distrobox-ubuntu:
|
|||||||
distrobox create --image quay.io/toolbx-images/ubuntu-toolbox:22.04 -n ubuntu -Y
|
distrobox create --image quay.io/toolbx-images/ubuntu-toolbox:22.04 -n ubuntu -Y
|
||||||
|
|
||||||
setup-flatpaks:
|
setup-flatpaks:
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
echo 'Installing flatpaks from the ublue recipe ...'
|
echo 'Installing flatpaks from the ublue recipe ...'
|
||||||
flatpaks=$(yq '.flatpaks[]' < /usr/etc/ublue-recipe.yml)
|
flatpaks=$(yq '.flatpaks[]' < /usr/etc/ublue-recipe.yml)
|
||||||
for pkg in $flatpaks; do \
|
for pkg in $flatpaks; do \
|
||||||
@@ -62,7 +62,7 @@ nix-me-up:
|
|||||||
/usr/bin/ublue-nix-install
|
/usr/bin/ublue-nix-install
|
||||||
|
|
||||||
update:
|
update:
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
echo "Staging system update..."
|
echo "Staging system update..."
|
||||||
rpm-ostree update
|
rpm-ostree update
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Tell this script to exit if there are any errors.
|
# Tell this script to exit if there are any errors.
|
||||||
# You should have this in every custom script, to ensure that your completed
|
# You should have this in every custom script, to ensure that your completed
|
||||||
|
|||||||
Reference in New Issue
Block a user