Changed a hostname lookup from the ${HOST}
variable to the hostname
command
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user