mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-28 11:17:47 +00:00
Fixes setup_lnx.sh for Arch and Fedora distros
This commit is contained in:
parent
72bbee37d2
commit
4d122b531d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue