Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / local / rdist_script
1 #!/bin/csh -f
2 #
3 # Script to run rdist in order to update the Sun-3 filesservers
4 #
5 if (`hostname` == 'ics.uci.edu') then
6   cd /usr/local/bin
7   rdist -f /usr/src/bs/mh-6.6/rdist_update_usrlocal.sequent
8   cd /usr/local/lib/mh
9   rdist -f /usr/src/bs/mh-6.6/rdist_update_lib.sequent
10   rdist -f /usr/src/bs/mh-6.6/rdist_update_others.sequent
11 else if (`hostname` == 'f.ics.uci.edu') then
12   cd /usr/local
13   rdist -f /usr/src/bs/mh-6.6/rdist_update_usrlocal.is68k
14   cd /usr/local/lib/mh
15   rdist -f /usr/src/bs/mh-6.6/rdist_update_lib.is68k
16   rdist -f /usr/src/bs/mh-6.6/rdist_update_others.is68k
17 else
18   cd /usr/local
19   rdist -f /usr/src/bs/mh-6.6/rdist_update_usrlocal.`arch`
20   cd /usr/local/lib/mh
21   rdist -f /usr/src/bs/mh-6.6/rdist_update_lib.`arch`
22   rdist -f /usr/src/bs/mh-6.6/rdist_update_others.`arch`
23 endif