Update install.sh
This commit is contained in:
parent
0deedc3f8e
commit
d97f4ae56e
1 changed files with 9 additions and 1 deletions
10
install.sh
10
install.sh
|
@ -137,7 +137,15 @@ stty raw -echo
|
||||||
answer2=$( while ! head -c 2 | grep -i '[ny]' ;do true ;done )
|
answer2=$( while ! head -c 2 | grep -i '[ny]' ;do true ;done )
|
||||||
stty $old2_stty_cfg
|
stty $old2_stty_cfg
|
||||||
if echo "$answer2" | grep -iq "^y" ;then
|
if echo "$answer2" | grep -iq "^y" ;then
|
||||||
echo -e "\n\e[92m No apt-get required\e[0m Installation continue... \n"; make install
|
echo -e "\n\e[92m No apt-get required\e[0m Installation continue... \n";
|
||||||
|
if [ -f /usr/bin/motds32 ]
|
||||||
|
then
|
||||||
|
echo -e "\n\e[92m - Make file already\e[0m done.\n"
|
||||||
|
else
|
||||||
|
echo -e "\n\e[92m -Building binary \e[0m\n"
|
||||||
|
make install
|
||||||
|
echo -e "\n\e[92m - Make file\e[0m done.\n"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue