team4alfanous team mailing list archive
-
team4alfanous team
-
Mailing list archive
-
Message #00188
[Branch ~team4alfanous/alfanous/alfanous-git] Rev 378: fix the duplications of dns records specified by install_jos2 target #92
------------------------------------------------------------
revno: 378
committer: Assem Chelli <assem.ch@xxxxxxxxx>
timestamp: Sun 2012-10-07 01:21:17 +0100
message:
fix the duplications of dns records specified by install_jos2 target #92
modified:
Makefile
--
lp:alfanous
https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git
Your team Alfanous team is subscribed to branch lp:alfanous.
To unsubscribe from this branch go to https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git/+edit-subscription
=== modified file 'Makefile'
--- Makefile 2012-10-06 23:37:40 +0000
+++ Makefile 2012-10-07 00:21:17 +0000
@@ -398,7 +398,8 @@
a2dissite alfanous
a2ensite alfanous
service apache2 reload
- echo "127.0.0.1 alfanous.local" >> /etc/hosts ## must check existance first!!
+
+ if ! grep -qs alfanous.local /etc/hosts; then echo "127.0.0.1 alfanous.local" >> /etc/hosts ; fi
xdg-open http://alfanous.local/cgi-bin/alfanous_json2.py & ##launch default browser for test
## don't use it!!