Revision 23740,
776 bytes
checked in by broder, 16 years ago
(diff) |
In moira:
* New CVS snapshot (Trac: #195)
* Drop patches that have been incorporated upstream.
* Update to build without krb4 on systems that no longer have it.
This doesn't build yet on squeeze, which lacks a krb4 library, but I'm
committing now before I start hacking away at a patch to fix that.
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | PATH=/bin:/usr/ucb:/usr/bin |
---|
3 | root=/usr/local/sendmail |
---|
4 | |
---|
5 | MR_MKCRED=47836474 |
---|
6 | |
---|
7 | cat $root/etc/aliases.legacy > $root/etc/aliases.tmp |
---|
8 | cat $root/etc/aliases.new >> $root/etc/aliases.tmp |
---|
9 | cat $root/etc/aliases.local >> $root/etc/aliases.tmp |
---|
10 | mv $root/etc/aliases.tmp $root/etc/aliases.new |
---|
11 | |
---|
12 | cp /dev/null $root/etc/aliases.new.db |
---|
13 | |
---|
14 | $root/sbin/sendmail -bi -oA$root/etc/aliases.new -C$root/etc/sendmail.cf |
---|
15 | if [ $? != 0 ]; then |
---|
16 | exit $MR_MKCRED |
---|
17 | fi |
---|
18 | |
---|
19 | mv $root/etc/aliases $root/etc/aliases.old |
---|
20 | mv $root/etc/aliases.db $root/etc/aliases.old.db |
---|
21 | mv $root/etc/aliases.new $root/etc/aliases |
---|
22 | mv $root/etc/aliases.new.db $root/etc/aliases.db |
---|
23 | |
---|
24 | rm -f $0 |
---|
25 | exit 0 |
---|
26 | |
---|
27 | # $Header: /afs/athena.mit.edu/astaff/project/moiradev/repository/moira/gen/aliases.sh,v 1.8 2000-05-29 22:17:58 zacheiss Exp $ |
---|
Note: See
TracBrowser
for help on using the repository browser.