Browse Source

Prepare for Debian 11

Detect Debian OS version fur future use.
master
farmatito 5 months ago
parent
commit
38e58de65a
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      migration.sh

+ 10
- 0
migration.sh View File

@@ -28,6 +28,16 @@ INSTALL_SLIM=0
INSTALL_DBUS=0
_CONTRIB=""
_NONFREE=""
. /etc/os-release

# Prepare for next Debian release and detect version
if test "x$VERSION_ID" = "x10" ; then
echo "Detected: Debian $VERSION"
else
if test "x$VERSION_ID" = "x11" ; then
echo "Detected: Debian $VERSION"
fi
fi

# PROGRAMS NEEDED
# TODO test if all needed programs are there (Paranoia)


Loading…
Cancel
Save