mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2025-01-09 04:27:35 +08:00
fix(install): non-free is now correctly detected (#4390)
Debian has added non-free-firmware repo. This was being detected alongside non-free and causing issues with steamcmd installation. this fix ensures non-free is only detected.
This commit is contained in:
parent
433444a1e7
commit
9598fccdbd
@ -252,7 +252,7 @@ fn_deps_detector() {
|
||||
elif [ "${deptocheck}" == "steamcmd" ] && [ -z "${appid}" ]; then
|
||||
array_deps_required=("${array_deps_required[@]/steamcmd/}")
|
||||
steamcmdstatus=1
|
||||
elif [ "${deptocheck}" == "steamcmd" ] && [ "${distroid}" == "debian" ] && ! grep -qE "^deb .*non-free" /etc/apt/sources.list; then
|
||||
elif [ "${deptocheck}" == "steamcmd" ] && [ "${distroid}" == "debian" ] && ! grep -qE '[^deb]+non-free([^-]|$)' /etc/apt/sources.list; then
|
||||
array_deps_required=("${array_deps_required[@]/steamcmd/}")
|
||||
steamcmdstatus=1
|
||||
# Java: Added for users using Oracle JRE to bypass check.
|
||||
|
Loading…
Reference in New Issue
Block a user