added dependencies to Readme and glibc check to TKG

This commit is contained in:
Termuellinator 2022-06-16 08:48:02 +02:00
parent c627666705
commit 02a79aa859
2 changed files with 3 additions and 1 deletions

View File

@ -66,6 +66,8 @@ From Source:
1. Download it! https://github.com/starcitizen-lug/lug-helper/releases 1. Download it! https://github.com/starcitizen-lug/lug-helper/releases
2. Extract it! 2. Extract it!
3. Run it! 3. Run it!
Dependencies: bash, coreurtils, curl, polkit (those should be installed by default on most distributions)
Optional Dependencies: zenity (for GUI), zstd (to extract some runners)
Arch Linux: https://aur.archlinux.org/packages/lug-helper/ Arch Linux: https://aur.archlinux.org/packages/lug-helper/

View File

@ -1188,7 +1188,7 @@ download_select_install() {
esac esac
# For runners, check GlibC version against runner requirements # For runners, check GlibC version against runner requirements
if [ "$download_type" = "runner" ] && [ "$contributor_name" = "/dev/null" ]; then if [ "$download_type" = "runner" ] && ( [ "$contributor_name" = "/dev/null" ] || [ "$contributor_name" = "TKG" ] ); then
required_glibc="2.33" required_glibc="2.33"
system_glibc="$(ldd --version | awk '/ldd/{print $NF}')" system_glibc="$(ldd --version | awk '/ldd/{print $NF}')"