diff --git a/linupx-scripts.sh b/linupx-scripts.sh index b41a44c..bf085f8 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -35,8 +35,12 @@ else ATYPE="unknown" fi -$APTFUNC remove -y newrelic-sysmond -rm -f /etc/apt/sources.list.d/newrelic.list +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 type yum &>/dev/null; then @@ -188,7 +192,7 @@ SCRIPT_MENU() { do clear echo "" - echo -e " ${LGreen}L I N U X U P D A T E - S C R I P T S${Color_Off} ${DGray}(ver-3.03252018)${Color_Off}" + echo -e " ${LGreen}L I N U X U P D A T E - S C R I P T S${Color_Off} ${DGray}(ver-3.05022018)${Color_Off}" echo "-------------------------------------------------------------" echo " $(hostname --long)" echo "-------------------------------------------------------------"