Changed a hostname lookup from the ${HOST} variable to the hostname command

This commit is contained in:
2025-07-11 20:47:43 -04:00
parent d85a175989
commit d1e3cedd1f

View File

@ -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