packages: dovecot/dovecot.spec - store errors in log file
arekm
arekm at pld-linux.org
Thu Sep 30 22:28:00 CEST 2010
Author: arekm Date: Thu Sep 30 20:28:00 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- store errors in log file
---- Files affected:
packages/dovecot:
dovecot.spec (1.150 -> 1.151)
---- Diffs:
================================================================
Index: packages/dovecot/dovecot.spec
diff -u packages/dovecot/dovecot.spec:1.150 packages/dovecot/dovecot.spec:1.151
--- packages/dovecot/dovecot.spec:1.150 Sun Sep 26 20:07:56 2010
+++ packages/dovecot/dovecot.spec Thu Sep 30 22:27:54 2010
@@ -231,8 +231,10 @@
i=1
echo "Trying to migrate $a config file to dovecot 2."
cp -a "$a" "$a-1.2.org"
+ :> "$a.log"
+ chmod 600 "$a.log"
# convert config and prefix stderr lines with #
- ( %{_bindir}/doveconf -n -c "$a-1.2.org" 3>&2 2>&1 1>&3 | sed 's/^/#/' ) 2>&1 > "$a" || :
+ %{_bindir}/doveconf -n -c "$a-1.2.org" > "$a" 2> "$a.log" || :
fi
done
if [ "$i" -eq 1 ]; then
@@ -311,6 +313,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.151 2010/09/30 20:27:54 arekm
+- store errors in log file
+
Revision 1.150 2010/09/26 18:07:56 arekm
- up to 2.0.4; rel 1; let the game begin
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dovecot/dovecot.spec?r1=1.150&r2=1.151&f=u
More information about the pld-cvs-commit
mailing list