projects
/
spamassassin-cn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4357a4
)
- delete trailing and leading spaces...
author
Dinko Korunic
<kreator@carnet.hr>
Tue, 10 Mar 2009 13:51:53 +0000
(14:51 +0100)
committer
Dinko Korunic
<kreator@carnet.hr>
Tue, 10 Mar 2009 13:51:53 +0000
(14:51 +0100)
debian/postinst
patch
|
blob
|
history
diff --git
a/debian/postinst
b/debian/postinst
index
99933b2
..
c6e4e1c
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-217,6
+217,8
@@
if [ -f $examdir/local.cf ]; then
trusted_networks_clean="$trusted_networks_clean $i"
fi
done
+ trusted_networks_clean=$(echo "$trusted_networks_clean" \
+ | sed 's/^[ \t]*//;s/[ \t]*$//')
# ... and replace if non-zero
if [ ! -z "$trusted_networks_clean" ]; then
trusted_networks=$trusted_networks_clean