changed syntax
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
isInFile=$(cat /etc/apt/sources.list | grep -c "bookworm")
|
||||
if [ $isInFile -eq 1 ]; then
|
||||
if [ $isInFile -ne 1 ]; then
|
||||
mkdir /etc/apt/mirrors
|
||||
echo "https://deb.debian.org/debian" >> /etc/apt/mirrors/debian.list
|
||||
echo "https://deb.debian.org/debian-security" >> /etc/apt/mirrors/debian-security.list
|
||||
|
||||
Reference in New Issue
Block a user