Update install.sh
This commit is contained in:
parent
e5903851f8
commit
1cb94915b7
17
install.sh
17
install.sh
|
@ -107,8 +107,8 @@ tput cup 11 0
|
||||||
if [ -f "/usr/bin/motds32" ]
|
if [ -f "/usr/bin/motds32" ]
|
||||||
then
|
then
|
||||||
echo -e "\n\e[34m - Make file \e[0m>> founded.\e[0m\n"
|
echo -e "\n\e[34m - Make file \e[0m>> founded.\e[0m\n"
|
||||||
make install
|
#make install
|
||||||
echo -e "\n\e[34m - REMake file done.\e[0m\n"
|
#echo -e "\n\e[34m - REMake file 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
|
||||||
|
@ -183,7 +183,18 @@ if test -f /usr/bin/motds32; then /usr/bin/motds32 -g; echo -e "\n Genrate firs
|
||||||
|
|
||||||
# Check if MOTDs32 is already add
|
# Check if MOTDs32 is already add
|
||||||
if test ! -d /etc/motds32; then mkdir -p /etc/motds32; fi
|
if test ! -d /etc/motds32; then mkdir -p /etc/motds32; fi
|
||||||
|
|
||||||
|
if [ -f "/usr/bin/motds32" ]
|
||||||
|
then
|
||||||
|
echo -e "\n\e[34m - Make file \e[0m>> founded.\e[0m\n"
|
||||||
|
#make install
|
||||||
|
#echo -e "\n\e[34m - REMake file done.\e[0m\n"
|
||||||
|
else
|
||||||
|
echo -e "\n\e[92m -Building binary \e[0m\n"
|
||||||
|
make install
|
||||||
|
echo -e "\n\e[34m - Make file done.\e[0m\n"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -f "/etc/motds32/Stats32" ]
|
if [ -f "/etc/motds32/Stats32" ]
|
||||||
then
|
then
|
||||||
echo -e " -->\e[34m Stats32 \e[92mFOUND\e[0m"
|
echo -e " -->\e[34m Stats32 \e[92mFOUND\e[0m"
|
||||||
|
|
Loading…
Reference in New Issue