From feb638b9f115490779996f0bcc1a992e3b49923e Mon Sep 17 00:00:00 2001 From: "Jean (east-high-Nerd)" Date: Wed, 24 Dec 2025 17:12:10 -0500 Subject: [PATCH] Added check to see if 'ID' = 'debian' before creating 'contrib.sources' due to elementaryOS sharing this porting of 'debian.sh' with Debian --- debian.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian.sh b/debian.sh index 49c487d..384e9e8 100755 --- a/debian.sh +++ b/debian.sh @@ -10,7 +10,7 @@ source \ if [[ "${1}" == '--live' ]]; then - if [[ "${ID}" == 'debian' ]] && if [[ ! "$(hostname)" == "debian-live" ]]; then + if [[ "${ID}" == 'debian' ]] && [[ ! "$(hostname)" == "debian-live" ]]; then cat << EOF | tee /etc/apt/sources.list.d/contrib.sources 1> /dev/null Enabled: yes Types: deb