SPECS (AC-branch): mailman.spec - fix public archives in trigger
baggins
baggins at pld-linux.org
Mon Oct 10 17:57:16 CEST 2005
Author: baggins Date: Mon Oct 10 15:57:16 2005 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- fix public archives in trigger
---- Files affected:
SPECS:
mailman.spec (1.80.2.13 -> 1.80.2.14)
---- Diffs:
================================================================
Index: SPECS/mailman.spec
diff -u SPECS/mailman.spec:1.80.2.13 SPECS/mailman.spec:1.80.2.14
--- SPECS/mailman.spec:1.80.2.13 Mon Oct 10 17:38:31 2005
+++ SPECS/mailman.spec Mon Oct 10 17:57:11 2005
@@ -299,6 +299,16 @@
mv -f /var/spool/mailman/logs/* %{_logdir}/
mv -f /var/spool/mailman/locks/* %{_lockdir}/
mv -f /var/spool/mailman/qfiles/* %{_queuedir}/
+# Fix symlinks for public archives
+cd %{_var}/lib/mailman/archives/public/
+for i in * ; do
+ link=$(readlink "$i")
+ dn=$(dirname "$link")
+ if [ "$dn" = "/var/spool/mailman/archives/private" ]; then
+ ln -sf "%{_var}/lib/mailman/archives/private/$i" "$i"
+ fi
+done
+cd -
# Remove empty dirs (DON'T rm -rf here!)
rmdir --ignore-fail-on-non-empty /var/spool/mailman/{archives/{private,public},archives,data,lists,spam,logs,locks,qfiles}
%{_libdir}/mailman/bin/update
@@ -372,6 +382,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.80.2.14 2005/10/10 15:57:11 baggins
+- fix public archives in trigger
+
Revision 1.80.2.13 2005/10/10 15:38:31 baggins
- added logrotate config
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/mailman.spec?r1=1.80.2.13&r2=1.80.2.14&f=u
More information about the pld-cvs-commit
mailing list