From c86f5b76c36fe36daba1fbeebcd370c76e8ed16c Mon Sep 17 00:00:00 2001 From: ITmail-dk <48917593+ITmail-dk@users.noreply.github.com> Date: Wed, 16 Oct 2024 14:20:47 +0200 Subject: [PATCH] Update install.sh --- install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 1f35bc9..9b19f7f 100644 --- a/install.sh +++ b/install.sh @@ -49,10 +49,10 @@ echo -e "${RED} ${NC}" if [ -f /etc/apt/sources.list ]; then sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak.$(date +'%d-%m-%Y_%H%M%S') - else - echo "No Debian repositories sources.list" - sudo cp /usr/share/doc/apt/examples/sources.list /etc/apt/sources.list - sudo sed -i '/^deb cdrom:/s/^/#/' /etc/apt/sources.list +else +echo "No Debian repositories sources.list" +sudo cp /usr/share/doc/apt/examples/sources.list /etc/apt/sources.list +sudo sed -i '/^deb cdrom:/s/^/#/' /etc/apt/sources.list fi