iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use btrfs-send for data syncing, testing still in progress
[distro-setup]
/
mail-setup
diff --git
a/postfix-setup
b/mail-setup
similarity index 98%
rename from
postfix-setup
rename to
mail-setup
index efe27bb87aaa70d5e2d492de49ecb6eb614d9cae..819aa8d0623cd48420bd7dfac345f88b046a794c 100755
(executable)
--- a/
postfix-setup
+++ b/
mail-setup
@@
-48,9
+48,9
@@
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
type=$1
postfix() { [[ $type == postfix ]]; }
type=$1
postfix() { [[ $type == postfix ]]; }
-exim() { [[ $type == exim ]]; }
+exim() { [[ $type == exim
4
]]; }
if ! exim && ! postfix; then
if ! exim && ! postfix; then
- echo "$1: error: expected exim or postfix as first arg"
+ echo "$1: error: expected exim
4
or postfix as first arg"
exit 1
fi
exit 1
fi