Changeset 31 for trunk/install.sh
- Timestamp:
- 11/15/07 15:31:47 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/install.sh
r25 r31 4 4 # publication (rsync) of dirwww content on dirpublish given in argument 5 5 # 6 # If the host of publication is cerbere.locean-ipsl.upmc.fr, update_web is7 # launched.6 # If the host of publication is cerbere.locean-ipsl.upmc.fr, a specific update 7 # is launched. 8 8 # 9 # update 9 # update : 10 10 # $Id$ 11 11 # fplod 2007-09-28T09:30:43Z aedon.locean-ipsl.upmc.fr (Darwin) … … 65 65 rsync -av -e ssh ${dirwww}/ ${dirpublish} 66 66 # detect if in dirpublish following this pattern [USER@]HOST:SRC, HOST 67 # is cerbere.locean-ipsl.upmc.fr. If so, update_webis launched67 # is cerbere.locean-ipsl.upmc.fr. If so, a specific update is launched 68 68 userhost=${dirpublish%%:*} 69 69 host=${userhost##*@} 70 user=${userhost%%@*} 70 71 if [ "${host}" = "cerbere.locean-ipsl.upmc.fr" ] 71 72 then 72 ssh ${userhost} /usr/local_linux/bin/update_web73 wget -q "http://www.lodyc.jussieu.fr/info_reseau/persoweb/?fastupdate=1&user=${user}" -O /dev/null 73 74 fi 74 75 ;;
Note: See TracChangeset
for help on using the changeset viewer.