projects
/
mirror
/
dsa-wiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cd4e72
)
aliases munging
author
Peter Palfrader
<peter@palfrader.org>
Sat, 27 Jun 2009 13:51:20 +0000
(15:51 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Sat, 27 Jun 2009 13:51:20 +0000
(15:51 +0200)
input/howto/new-machine.creole
patch
|
blob
|
history
diff --git
a/input/howto/new-machine.creole
b/input/howto/new-machine.creole
index
c781988
..
f371f56
100644
(file)
--- a/
input/howto/new-machine.creole
+++ b/
input/howto/new-machine.creole
@@
-143,6
+143,14
@@
EOF
}}}
* Add debian-admin@debian.org to root in /etc/aliases
+{{{
+ if ! egrep '^root:' /etc/aliases > /dev/null; then
+ echo "root: debian-admin@debian.org" >> /etc/aliases
+ elif ! egrep '^root:.*debian-admin@debian.org' /etc/aliases > /dev/null; then
+ sed -i -e 's/^root: .*/&, debian-admin@debian.org/' /etc/aliases
+ fi
+ newaliases
+}}}
* sane default editor
{{{