From fb5031fe217b16fa91dbbeeaa56fd76834c3e947 Mon Sep 17 00:00:00 2001 From: GermanBread Date: Mon, 3 May 2021 22:24:28 +0200 Subject: [PATCH] install instructions --- LULI.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/LULI.sh b/LULI.sh index dfe09ea..7426d79 100644 --- a/LULI.sh +++ b/LULI.sh @@ -80,6 +80,12 @@ fi # Library checks (should prevent issues like https://github.com/Lightcord/Lightcord/issues/240) if [ ! -e /lib/libnspr4.so ] || [ ! -e /lib/libnss3.so ]; then Warning "Some required libraries seem to not be installed!\n\tMake sure that both 'libnspr4.so' and 'libnss3.so' are present in '/lib'" + if [ -e /bin/pacman ]; then + SubInfo "$(tput setaf 12 && tput bold)Arch Linux or Arch-based$(tput sgr0 && tput setaf 15) sudo pacman -S nss nspr" + fi + if [ -e /bin/apt ]; then + SubInfo "$(tput setaf 13 && tput bold)Debian or Debian-based$(tput sgr0 && tput setaf 15) sudo apt install libnspr4 libnss3" + fi Info "Press enter if you believe that this is a false-positive." read -r REPLY fi