Added check to see if 'ID' = 'debian' before creating 'contrib.sources' due to elementaryOS sharing this porting of 'debian.sh' with Debian
This commit is contained in:
@@ -10,7 +10,7 @@ source \
|
|||||||
|
|
||||||
|
|
||||||
if [[ "${1}" == '--live' ]]; then
|
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
|
cat << EOF | tee /etc/apt/sources.list.d/contrib.sources 1> /dev/null
|
||||||
Enabled: yes
|
Enabled: yes
|
||||||
Types: deb
|
Types: deb
|
||||||
|
|||||||
Reference in New Issue
Block a user