Commit 72d9f83e authored by Ralf Matthes's avatar Ralf Matthes
Browse files

added check

parent 1481486c
......@@ -2,6 +2,18 @@
# sources.list and install dependencys
# Check if System is Debian 10 / 11
VERSION=NONE
pat1="10.[0-100]"
pat2="11.[0-100]"
if [ $(cat /etc/debian_version) == $pat1 ]; then
VERSION=10
elif [ $(cat /etc/debian_version) == $pat2 ]; then
VERSION=11
fi
echo "deb http://deb.debian.org/debian/ stable main contrib non-free" > /etc/sources.list
echo "deb-src http://deb.debian.org/debian/ stable main contrib non-free" >> /etc/sources.list
echo "" >> /etc/sources.list
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment