Fix in install_python script for use bash

This commit is contained in:
Antonio de la Rosa 2025-11-16 23:33:40 +01:00
parent 60095aa17c
commit e36e055a13
2 changed files with 9 additions and 3 deletions

View file

@ -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