From fcb7593279e4d9226de981d08d13487bc80d8641 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 1 Oct 2018 10:44:36 -0500 Subject: [PATCH] nv.3 --- linupx-scripts.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/linupx-scripts.sh b/linupx-scripts.sh index 3df6566..04d654a 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -229,7 +229,14 @@ SCRIPT_MENU() { echo "" echo -e "Last run: ${Green}${LASTRUND} ${LASTRUNT}${Color_Off}" echo "---------------------------------------------------------------------------" - lsb_release -a + if type lsb_release &>/dev/null; then + lsb_release -i + lsb_release -d + lsb_release -r + lsb_release -c + else + cat /etc/*release + fi echo -e "${LGreen}---------------------------------------------------------------------------${Color_Off}" echo "" echo " [1] Check for Updates/Upgrades" @@ -290,7 +297,7 @@ INSTALL_MENU() { clear echo "" echo -e " ${LGreen}LinUPx - L I N U X U P D A T E S C R I P T S${Color_Off} ${DGray}(ver-${VERS})${Color_Off}" - echo -e " ${Green}Installation Scripts${Color_Off}" + echo -e " ${Green}INSTALLATION SCRIPTS${Color_Off}" echo -e "${LGreen}---------------------------------------------------------------------------${Color_Off}" echo -e "Hostname: ${BBlue}$(hostname -s)${Color_Off}" echo -e "Domain: ${BBlue}$(hostname -d)${Color_Off}"