From 4d223b8815318a6484d399d68f05cf05189e23ee Mon Sep 17 00:00:00 2001 From: "Jean (east-high-Nerd)" Date: Wed, 24 Dec 2025 17:05:59 -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 f8e69a0..49c487d 100755 --- a/debian.sh +++ b/debian.sh @@ -10,7 +10,7 @@ source \ if [[ "${1}" == '--live' ]]; then - if [[ ! "$(hostname)" == "debian-live" ]]; then + if [[ "${ID}" == 'debian' ]] && if [[ ! "$(hostname)" == "debian-live" ]]; then cat << EOF | tee /etc/apt/sources.list.d/contrib.sources 1> /dev/null Enabled: yes Types: deb