From d1e3cedd1f5800c821a5a453c4c0fc24a6c7960a Mon Sep 17 00:00:00 2001 From: "Jean (east-high-Nerd)" Date: Fri, 11 Jul 2025 20:47:43 -0400 Subject: [PATCH] Changed a hostname lookup from the `${HOST}` variable to the `hostname` command --- partition.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partition.sh b/partition.sh index 3324169..667113b 100755 --- a/partition.sh +++ b/partition.sh @@ -40,7 +40,7 @@ else fi if [[ "${ID}" == 'debian' ]]; then - if [[ ! "${HOST}" == "debian-live" ]]; then + if [[ ! "$(hostname)" == "debian-live" ]]; then cat << EOF | tee /etc/apt/sources.list.d/contrib.sources 1> /dev/null Enabled: yes Types: deb