From dbefa919574b3a683b396d132e66cfd515928c08 Mon Sep 17 00:00:00 2001 From: Erreur32 Date: Mon, 18 May 2020 10:51:10 +0200 Subject: [PATCH] first commit --- install.sh | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/install.sh b/install.sh index 56a6464..be0b411 100755 --- a/install.sh +++ b/install.sh @@ -74,7 +74,7 @@ EOFMO2 echo -e "\e[90m # MOTDs32 is dynamicaly refreshing the /etc/motd file with current informations" echo -e "\e[90m # about system status and usage." -echo -e "\n\e[34m Check MOTDs32 dependencies... \e[0m\n" +echo -e "\n\e[34m Check MOTDs32 dependencies... \n" # Check dependenciess @@ -83,35 +83,35 @@ echo -e "\e[34m Check required dependencies ! (need to be installed)" # Check installed if [ -f "/usr/sbin/sendmail" ] then - echo -e " \e[34m- Posfix \e[32m✔ installed.\e[0m" + echo -e " \e[34m- Posfix \e[32m✔ installed." else - echo -e " \e[34m- Select option 1 \e[91m Missing package !! \e[0m\n" + echo -e " \e[34m- Select option 1 \e[91m Missing package !!" fi if [ -f "/usr/share/build-essential/essential-packages-list" ] then - echo -e " \e[34m- build-dep \e[32m✔ installed.\e[0m" + echo -e " \e[34m- build-dep \e[32m✔ installed." else - echo -e " \e[34m- build-dep \e[1;31mSelect option 1 \e[91m Missing package !!\e[0m" + echo -e " \e[34m- build-dep \e[1;31mSelect option 1 \e[91m Missing package !!" fi # Check files if hash figlet 2>/dev/null; then -echo -e " \e[34m- Figlet \e[32m✔ installed.\e[0m" +echo -e " \e[34m- Figlet \e[32m✔ installed." else -echo -e " \e[34m- Figlet \e[1;31m Select option 1 \e[91m Missing package !!\e[0m" +echo -e " \e[34m- Figlet \e[1;31m Select option 1 \e[91m Missing package !!" fi if hash ntpd 2>/dev/null; then -echo -e " \e[34m- NTP \e[32m✔ installed.\e[0m" +echo -e " \e[34m- NTP \e[32m✔ installed." else -echo -e " \e[34m- NTP \e[1;31mSelect option 1 \e[91m Missing package !!\e[0m" +echo -e " \e[34m- NTP \e[1;31mSelect option 1 \e[91m Missing package !!" fi if hash make 2>/dev/null; then -echo -e " \e[34m- build-essential \e[32m✔ installed.\e[0m" +echo -e " \e[34m- build-essential \e[32m✔ installed." else -echo -e " \e[34m- build-essential \e[1;31mSelect option 1 \e[91m Missing package !!\e[0m" +echo -e " \e[34m- build-essential \e[1;31mSelect option 1 \e[91m Missing package !!" fi @@ -121,9 +121,9 @@ echo -e " 1. \e[0m(auto) Install Missing Package\e[92m" echo -e " 2. \e[0mInstallation MOTDs32 script\e[92m" echo -e " 3. \e[0mUpdate MOTDs32 script\e[92m" echo -e " 4. \e[0mUninstall completly MOTDs32 script\e[92m" -echo -e " 0. \e[0m(Enter or any key) to Quit\n \e[0m" +echo -e " 0. \e[0m(Enter or any key) to Quit\n\e[33;3m" read -p " Enter selection [0-3] or (Enter) to Quit > " selection - +echo -e "\e[0m" # Clear area beneath menu tput cup 10 0