„setup.sh“ ändern
and another mistake
This commit is contained in:
parent
62c144f253
commit
dd5adcc54c
1 changed files with 2 additions and 2 deletions
4
setup.sh
4
setup.sh
|
@ -90,11 +90,11 @@ fi
|
||||||
message "check sources.list"
|
message "check sources.list"
|
||||||
if ! ( ( grep "contrib" /etc/apt/sources.list > /dev/null ) && ( grep -E " non-free( |$)" /etc/apt/sources.list > /dev/null ) )
|
if ! ( ( grep "contrib" /etc/apt/sources.list > /dev/null ) && ( grep -E " non-free( |$)" /etc/apt/sources.list > /dev/null ) )
|
||||||
then
|
then
|
||||||
message warn "I need 'contrib' and 'non-free' in sources.ist, i will deploy my own"
|
message warn "I need 'contrib' and 'non-free' in sources.ist, I will deploy my own"
|
||||||
confirm_continue
|
confirm_continue
|
||||||
message "backup old sources.list to /etc/apt/sources.list.bak"
|
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.bak
|
||||||
cat << EOF > /etc/apt/sources.list
|
cat << EOF | sudo tee /etc/apt/sources.list
|
||||||
deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
|
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
|
deb-src http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue