Update install.sh
This commit is contained in:
parent
dc7a281f29
commit
28ebd62e65
1 changed files with 4 additions and 4 deletions
|
@ -123,11 +123,11 @@ if echo "$answer" | grep -iq "^y" ;then
|
||||||
echo -e "\n\e[34m - apt-get installation\e[0m Succesfull\n"
|
echo -e "\n\e[34m - apt-get installation\e[0m Succesfull\n"
|
||||||
if [ -f "/usr/bin/motds32" ]
|
if [ -f "/usr/bin/motds32" ]
|
||||||
then
|
then
|
||||||
echo -e "\n\e[92m - Make file already\e[0m done.\n"
|
echo -e "\n\e[34m - Make file already\e[92m done.\e[0m\n"
|
||||||
else
|
else
|
||||||
echo -e "\n\e[92m -Building binary \e[0m\n"
|
echo -e "\n\e[92m -Building binary \e[0m\n"
|
||||||
make install
|
make install
|
||||||
echo -e "\n\e[92m - Make file\e[0m done.\n"
|
echo -e "\n\e[34m - Make file\e[92m done.\e[0m\n"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo -e "\n\e[34mDo you want to continue this installation? (y/n)\n "
|
echo -e "\n\e[34mDo you want to continue this installation? (y/n)\n "
|
||||||
|
@ -156,9 +156,9 @@ fi
|
||||||
## Install Crontab
|
## Install Crontab
|
||||||
|
|
||||||
if crontab -l | grep -q '/usr/bin/motds32'; then
|
if crontab -l | grep -q '/usr/bin/motds32'; then
|
||||||
echo -e "\e[92m - Cron already \e[92madded.\e[0m"
|
echo -e "\e[92m - Cron \e[34malready added.\e[0m"
|
||||||
else
|
else
|
||||||
echo -e "\e[92m - Cron \e[92m added.\e[0m"
|
echo -e "\e[34m - Cron \e[92m added.\e[0m"
|
||||||
(crontab -l ; echo "*/5 * * * * /usr/bin/motds32 -g 2>1")| crontab -
|
(crontab -l ; echo "*/5 * * * * /usr/bin/motds32 -g 2>1")| crontab -
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue