diff --git a/files/bashscripts/debian/debian-essentials.sh b/files/bashscripts/debian/debian-essentials.sh index cd7b1a7..a4fff18 100755 --- a/files/bashscripts/debian/debian-essentials.sh +++ b/files/bashscripts/debian/debian-essentials.sh @@ -9,7 +9,7 @@ if [[ ! -f /etc/apt/apt.conf.d/local ]] ; then fi # update bookworm to new debian.sources file -if [[ -f /etc/apt/sources.list ]] ; then +if [[ -f /etc/apt/sources.list.d/debian.sources ]] ; then isInFile=$(cat /etc/apt/sources.list | grep -c "bullseye") if [ $isInFile -eq 0 ]; then mkdir /etc/apt/mirrors > /dev/null 2>&1