Update install.sh
This commit is contained in:
parent
3dcddd5499
commit
84f84ee0c5
1 changed files with 3 additions and 1 deletions
|
@ -118,12 +118,14 @@ stty raw -echo
|
||||||
answer=$( while ! head -c 1 | grep -i '[ny]' ;do true ;done )
|
answer=$( while ! head -c 1 | grep -i '[ny]' ;do true ;done )
|
||||||
stty $old_stty_cfg
|
stty $old_stty_cfg
|
||||||
if echo "$answer" | grep -iq "^y" ;then
|
if echo "$answer" | grep -iq "^y" ;then
|
||||||
echo -e "\n\e[92m apt-get install \e[0m ntp figletbuild-essential \e[94m start\e[0m\n" ; apt-get install -y build-essential ntp figlet;
|
echo -e "\n\e[92m apt-get install \e[0m ntp figlet build-essential \e[94m start\e[0m\n" ; apt-get install -y build-essential ntp figlet;
|
||||||
echo -e "\n\e[92m apt-get installation\e[0m Succesfull\n"
|
echo -e "\n\e[92m apt-get installation\e[0m Succesfull\n"
|
||||||
|
echo -e "\n\e[92m Building binary \e[0m\n"
|
||||||
if [ -f /usr/bin/motds32 ]
|
if [ -f /usr/bin/motds32 ]
|
||||||
then
|
then
|
||||||
echo -e "\n\e[92m Make file\e[0m done.\n"
|
echo -e "\n\e[92m Make file\e[0m done.\n"
|
||||||
else
|
else
|
||||||
|
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[92m Make file\e[0m done.\n"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue