From 95a646b3a9d30c61793ba24eecea29772d453e6e Mon Sep 17 00:00:00 2001 From: Erin van der Veen Date: Wed, 20 Aug 2025 10:17:15 +0200 Subject: [PATCH] Change shebangs to the more portable /usr/bin/env bash This resolves issues on systems where bash is not in /bin/bash (e.g. NixOS). --- Bin/system-stats.sh | 4 ++-- Bin/test-notifications.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Bin/system-stats.sh b/Bin/system-stats.sh index 7f628ed..618affe 100755 --- a/Bin/system-stats.sh +++ b/Bin/system-stats.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # A Bash script to monitor system stats and output them in JSON format. # This script is a conversion of ZigStat @@ -199,4 +199,4 @@ while true; do # Wait for the specified duration before the next update. sleep "$SLEEP_DURATION" -done \ No newline at end of file +done diff --git a/Bin/test-notifications.sh b/Bin/test-notifications.sh index 4101024..fc7c035 100755 --- a/Bin/test-notifications.sh +++ b/Bin/test-notifications.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash echo "Sending 8 test notifications..." @@ -8,4 +8,4 @@ for i in {1..8}; do sleep 1 done -echo "All notifications sent!" \ No newline at end of file +echo "All notifications sent!"