better fix

This commit is contained in:
Yan 2023-11-21 01:28:57 -07:00
parent b553d4962f
commit 1f03b1127b

View file

@ -56,7 +56,7 @@ function detect_distribution()
function base_build_setup_debian()
{
PACKAGE_REQS="build-essential libtool g++ gcc texinfo curl wget automake autoconf python-is-python3 python3-dev git subversion unzip virtualenvwrapper lsb-release"
PACKAGE_REQS="build-essential libtool g++ gcc texinfo curl wget automake autoconf python2 python2-dev python3-dev git subversion unzip virtualenvwrapper lsb-release"
PACKAGE_COUNT=$(echo $PACKAGE_REQS | tr ' ' '\n' | wc -l)
sudo apt-get update
if [ $(dpkg -l $PACKAGE_REQS | grep "^ii" | wc -l) -ne $PACKAGE_COUNT ]