From 730ac8b5cdc709a420c1c0a0247120430689a398 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 23 Jan 2022 16:15:08 -0600 Subject: [PATCH] Update linupx-scripts.sh --- linupx-scripts.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/linupx-scripts.sh b/linupx-scripts.sh index 06a7e6d..60def85 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -60,13 +60,6 @@ Red='\033[10;31m' LRed='\033[1;31m' -######## NEWRELIC REMOVAL ######## -if [ -e /etc/apt/sources.list.d/newrelic.list ]; then - $APTFUNC remove -y newrelic-sysmond - rm -f /etc/apt/sources.list.d/newrelic.list - echo -e "${BBlue}NOTICE:${Color_Off} NewRelic Removed." - sleep 5 -fi UPDATE1() { if [ "$opennms" = true ]; then @@ -422,7 +415,7 @@ SCRIPT_MENU() { echo "" echo -e "Last run: ${Green}${LASTRUND} ${LASTRUNT}${Color_Off}" echo "---------------------------------------------------------------------------" - detect_os OS + OS=$(detect_os) width=14 printf "%-${width}s: %s\n" "Machine" "${OS[0]}" printf "%-${width}s: %s\n" "Distribution" "${OS[1]}"