1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-01 06:50:38 +00:00

Fixes setup_lnx.sh for Arch and Fedora distros

This commit is contained in:
FellippeHeitor 2020-01-19 10:55:58 -03:00
parent 72bbee37d2
commit 4d122b531d

View file

@ -72,7 +72,7 @@ fi
#Find and install packages #Find and install packages
if [ "$DISTRO" == "arch" ]; then if [ "$DISTRO" == "arch" ]; then
echo "ArchLinux detected." echo "ArchLinux detected."
pkg_list="gcc zlib1g-dev $GET_WGET" pkg_list="gcc zlib $GET_WGET"
installed_packages=`pacman -Q` installed_packages=`pacman -Q`
installer_command="sudo pacman -S " installer_command="sudo pacman -S "
pkg_install pkg_install
@ -84,7 +84,7 @@ elif [ "$DISTRO" == "linuxmint" ] || [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" ==
pkg_install pkg_install
elif [ "$DISTRO" == "fedora" ] || [ "$DISTRO" == "redhat" ] || [ "$DISTRO" == "centos" ]; then elif [ "$DISTRO" == "fedora" ] || [ "$DISTRO" == "redhat" ] || [ "$DISTRO" == "centos" ]; then
echo "Fedora/Redhat based distro detected." echo "Fedora/Redhat based distro detected."
pkg_list="gcc-c++ mesa-libGLU-devel alsa-lib-devel zlib1g-dev $GET_WGET" pkg_list="gcc-c++ mesa-libGLU-devel alsa-lib-devel zlib-devel $GET_WGET"
installed_packages=`yum list installed` installed_packages=`yum list installed`
installer_command="sudo yum install " installer_command="sudo yum install "
pkg_install pkg_install