From db61900b94939fe58cbc1d0362516d2e0d757674 Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Fri, 26 Aug 2016 03:04:55 +0200 Subject: [PATCH] && for glibc instead of || Logic function here http://imgur.com/a/hKKp9 --- lgsm/functions/check_deps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lgsm/functions/check_deps.sh b/lgsm/functions/check_deps.sh index 1939937ec..7c5cb0d50 100644 --- a/lgsm/functions/check_deps.sh +++ b/lgsm/functions/check_deps.sh @@ -150,7 +150,7 @@ if [ -n "$(command -v dpkg-query)" ]; then fi # All servers except ts3,mumble and minecraft servers require libstdc++6 and lib32gcc1 - if [ "${gamename}" != "TeamSpeak 3" ]||[ "${gamename}" != "Mumble" ]||[ "${engine}" != "lwjgl2" ]; then + if [ "${gamename}" != "TeamSpeak 3" ]&&[ "${gamename}" != "Mumble" ]&&[ "${engine}" != "lwjgl2" ]; then if [ "${arch}" == "x86_64" ]; then array_deps_required+=( lib32gcc1 libstdc++6:i386 ) else @@ -219,7 +219,7 @@ elif [ -n "$(command -v yum)" ]; then fi # All servers except ts3,mumble and minecraft servers require glibc.i686 and libstdc++.i686 - if [ "${gamename}" != "TeamSpeak 3" ]||[ "${gamename}" != "Mumble" ]||[ "${engine}" != "lwjgl2" ]; then + if [ "${gamename}" != "TeamSpeak 3" ]&&[ "${gamename}" != "Mumble" ]&&[ "${engine}" != "lwjgl2" ]; then array_deps_required+=( glibc.i686 libstdc++.i686 ) fi