Browse Source

fix issue #676

no longer trys to install lib32gcc1 if 32 bit
pull/700/head
Daniel Gibbs 9 years ago
parent
commit
339a5198ce
  1. 12
      functions/check_deps.sh

12
functions/check_deps.sh

@ -2,7 +2,7 @@
# LGSM check_deps.sh function # LGSM check_deps.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: http://gameservermanagers.com # Website: http://gameservermanagers.com
lgsm_version="310116" lgsm_version="060216"
# Description: Checks that the requires dependencies are installed for LGSM. # Description: Checks that the requires dependencies are installed for LGSM.
@ -118,9 +118,13 @@ if [ -n "$(command -v dpkg-query)" ]; then
array_deps_required+=( tmux ) array_deps_required+=( tmux )
fi fi
# All servers excelts ts3 & mumble require libstdc++6,lib32gcc1 # All servers except ts3 & mumble require libstdc++6, lib32gcc1
if [ "${executable}" != "./ts3server_startscript.sh" ]||[ "${executable}" != "./murmur.x86" ]; then if [ "${executable}" != "./ts3server_startscript.sh" ]||[ "${executable}" != "./murmur.x86" ]; then
array_deps_required+=( lib32gcc1 libstdc++6:i386 ) if [ "${arch}" == "x86_64" ]; then
array_deps_required+=( lib32gcc1 libstdc++6:i386 )
else
array_deps_required+=( libstdc++6:i386 )
fi
fi fi
# Game Specific requirements # Game Specific requirements
@ -164,7 +168,7 @@ elif [ -n "$(command -v yum)" ]; then
array_deps_required+=( tmux ) array_deps_required+=( tmux )
fi fi
# All servers excelts ts3 & mumble require libstdc++6,lib32gcc1 # All servers excelts ts3 & mumble require glibc.i686 libstdc++.i686
if [ "${executable}" != "./ts3server_startscript.sh" ]||[ "${executable}" != "./murmur.x86" ]; then if [ "${executable}" != "./ts3server_startscript.sh" ]||[ "${executable}" != "./murmur.x86" ]; then
array_deps_required+=( glibc.i686 libstdc++.i686 ) array_deps_required+=( glibc.i686 libstdc++.i686 )
fi fi

Loading…
Cancel
Save