Browse Source

comment updates

pull/2058/head
Bourne-ID 7 years ago
committed by GitHub
parent
commit
6908d6fe5d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      lgsm/functions/check_deps.sh

4
lgsm/functions/check_deps.sh

@ -143,10 +143,10 @@ fn_deps_detector(){
elif [ "${deptocheck}" == "jq" ]&&[ "${distroversion}" == "6" ]; then
jqstatus=1
elif [ "${deptocheck}" == "jq" ]&&[ "${distroid}" == "ubuntu" ]&&[ "${distroversion}" == "18.04" ]&& ! grep -qE "^deb .*universe" /etc/apt/sources.list; then
#1985 ubuntu 18.04.1 bug does not set sources.list correctly which means universe is not active by default
#If the universe repo does not exist, mark as dependency missing and universe missing
depstatus=1
jquniversemissing=1
#1985 ubuntu 18.04.1 bug does not set sources.list correctly which means universe is not active by default
#check if the universe exists and active
elif [ "${deptocheck}" == "mono-complete" ]; then
if [ "$(command -v mono 2>/dev/null)" ]&&[ "$(mono --version 2>&1 | grep -Po '(?<=version )\d')" -ge 5 ]; then
# Mono >= 5.0.0 already installed

Loading…
Cancel
Save