This commit is contained in:
Erreur32 2017-07-31 15:09:29 +02:00
parent 6dc40bdb5e
commit 502cb985d0
2 changed files with 7 additions and 5 deletions

View File

@ -22,7 +22,7 @@ install:
if test ! -e /etc/motds32/$$config; then install -m 644 ./etc/motds32/$$config /etc/motds32; fi \
done
/usr/bin/motds32 -g
uninstall:
for prog in $(PROGRAMS); do \
rm -f /usr/bin/$$prog; \

View File

@ -106,7 +106,9 @@ tput cup 11 0
echo -e "\n\e[34m - apt-get installation build-essential ntp figlet \e[0m>> Succesfull"
if [ -f "/usr/bin/motds32" ]
then
echo -e "\n\e[34m - Make file \e[0m>> already done.\e[0m\n"
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
@ -275,4 +277,4 @@ done
# Restore screen
tput rmcup
echo "Installation MOTDs32 terminated."
echo -e "\nInstallation MOTDs32 terminated."