Fix in install_python script for use bash
This commit is contained in:
parent
60095aa17c
commit
e36e055a13
2 changed files with 9 additions and 3 deletions
|
|
@ -8,7 +8,9 @@ sleep 1
|
|||
|
||||
# Get distro version using lsb_release
|
||||
|
||||
DISTRO=`( lsb_release -ds || cat /etc/*release || uname -om ) 2>/dev/null | head -n1`
|
||||
DISTRO=`( lsb_release -ds || cat /etc/os-release || uname -om ) 2>/dev/null | head -n1`
|
||||
|
||||
echo "$DISTRO detected"
|
||||
|
||||
if [[ $DISTRO =~ ^Debian ]] || [[ $DISTRO =~ ^Ubuntu ]]; then
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue