This commit is contained in:
GermanBread 2021-05-03 22:30:20 +02:00
parent fb5031fe21
commit de58a38d72
1 changed files with 6 additions and 6 deletions

12
LULI.sh
View File

@ -70,6 +70,12 @@ if [ $(id -u) -eq 0 ]; then
exit 0 exit 0
fi fi
# Bedrock Linux warning
if [ -d /bedrock ]; then
Info "Bedrock Linux detected. Here be dragons..."
SubInfo "This script is executed in the $(tput bold && tput setaf 15 && brl which | tr -d '\n') stratum$(tput sgr0 && tput setaf 8). Mention this when filing a bug report!"
fi
# Check if unzip is installed # Check if unzip is installed
if [ ! -e /bin/unzip ]; then if [ ! -e /bin/unzip ]; then
Warning "Unzip does not seem to be installed!\n\tThis script depends on this package.\n\tInstall unzip and restart this script." Warning "Unzip does not seem to be installed!\n\tThis script depends on this package.\n\tInstall unzip and restart this script."
@ -90,12 +96,6 @@ if [ ! -e /lib/libnspr4.so ] || [ ! -e /lib/libnss3.so ]; then
read -r REPLY read -r REPLY
fi fi
# Bedrock Linux warning
if [ -d /bedrock ]; then
Info "Detected Bedrock Linux."
SubInfo "This script is executed in the $(tput bold && tput setaf 15 && brl which | tr -d '\n') stratum$(tput sgr0 && tput setaf 8). Mention this when filing a bug report!"
fi
cat << "logo_end" cat << "logo_end"
_ _ _ _ _ _ _ _ _ _
| | (_)__ _| |_| |_ __ ___ _ _ __| | | | (_)__ _| |_| |_ __ ___ _ _ __| |