From 0034f60924caeb7f90808e23f3393cde17a39219 Mon Sep 17 00:00:00 2001 From: DeltaLima Date: Thu, 15 Jun 2023 01:13:00 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Esetup.sh=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 08d3619..4622b08 100644 --- a/setup.sh +++ b/setup.sh @@ -74,7 +74,7 @@ message "" message "Do you want to install these package categories?" message "${YELLOW}$package_categories${ENDCOLOR}" message "You can also specify only a few to install, e.g. '${YELLOW}0-base admin${ENDCOLOR}':" -message "./$0 0-base admin" +message " ${YELLOW}bash $0 0-base 1-desktop-base 2-desktop-gnome${ENDCOLOR}" confirm_continue message "Continue with installation..." @@ -93,7 +93,7 @@ then message warn "I need 'contrib' and 'non-free' in sources.ist, I will deploy my own" confirm_continue message "backup old sources.list to /etc/apt/sources.list.bak" - sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak + sudo cp /etc/apt/sources.list /etc/apt/sources.list.$(date "+%s")bak cat << EOF | sudo tee /etc/apt/sources.list deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware deb-src http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware