Cette révision appartient à :
Erreur32 2017-07-31 15:09:29 +02:00
Parent 6dc40bdb5e
révision 502cb985d0
2 fichiers modifiés avec 7 ajouts et 5 suppressions

Voir le fichier

@ -17,12 +17,12 @@ install:
install -m 0755 bin/$$prog /usr/bin; \
done
if test ! -d /etc/motds32; then mkdir -p /etc/motds32; touch /etc/motds32/Stats32.txt; chmod 777 /etc/motds32/Stats32.txt; fi
if test ! -d /etc/motds32; then mkdir -p /etc/motds32; touch /etc/motds32/Stats32.txt; chmod 777 /etc/motds32/Stats32.txt; fi
for config in $(CONFIGS); do \
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; \

Voir le fichier

@ -106,8 +106,10 @@ 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"
else
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"
@ -275,4 +277,4 @@ done
# Restore screen
tput rmcup
echo "Installation MOTDs32 terminated."
echo -e "\nInstallation MOTDs32 terminated."