From 02a79aa859517053d89f9fe15d5e0a4a51396890 Mon Sep 17 00:00:00 2001 From: Termuellinator Date: Thu, 16 Jun 2022 08:48:02 +0200 Subject: [PATCH] added dependencies to Readme and glibc check to TKG --- README.md | 2 ++ lug-helper.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 752567e..3cc9f49 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,8 @@ From Source: 1. Download it! https://github.com/starcitizen-lug/lug-helper/releases 2. Extract 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/ diff --git a/lug-helper.sh b/lug-helper.sh index 08b7564..2021531 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -1188,7 +1188,7 @@ download_select_install() { esac # 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" system_glibc="$(ldd --version | awk '/ldd/{print $NF}')"