Skip to content

Commit

Permalink
B #105: Detect Debian 11 correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
xorel committed Jun 16, 2023
1 parent 78cbd7a commit 0aedcb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minione
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ get_distname_and_version() {
VER=$(sed -e 's/[^0-9\.]*//g' </etc/redhat-release)
elif [ -f /etc/os-release ]; then
DIST=$(grep ^NAME= /etc/os-release | cut -d\" -f2)
DIST=${DIST% Linux}
DIST=$(echo $DIST | sed 's/ .*//')
VER=$(grep ^VERSION_ID= /etc/os-release | cut -d\" -f2)
elif [ -f /etc/lsb-release ]; then
DIST=$(grep ^DISTRIB_ID= /etc/lsb-release | cut -d= -f2)
Expand Down

0 comments on commit 0aedcb8

Please sign in to comment.