r61827 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61826‎ | r61827 | r61828 >
Date:22:27, 1 February 2010
Author:mark
Status:ok
Tags:
Comment:
wikimedia-base (0.25) hardy; urgency=low

* Only add sysctl settings to /etc/sysctl.conf pre-karmic; rely on puppet
Modified paths:
  • /trunk/debs/wikimedia-base/debian/changelog (modified) (history)
  • /trunk/debs/wikimedia-base/debian/postinst (modified) (history)

Diff [purge]

Index: trunk/debs/wikimedia-base/debian/postinst
@@ -59,7 +59,7 @@
6060 fi
6161
6262 # Optimize TCP
63 - if ! grep -q "^### START: Added by wikimedia-base" /etc/sysctl.conf || dpkg --compare-versions "$2" lt "0.18"
 63+ if [ ! -d /etc/sysctl.d ] && ( ! grep -q "^### START: Added by wikimedia-base" /etc/sysctl.conf || dpkg --compare-versions "$2" lt "0.18")
6464 then
6565 cat /usr/share/doc/wikimedia-base/sysctl.conf >> /etc/sysctl.conf
6666 sysctl -p /usr/share/doc/wikimedia-base/sysctl.conf
Index: trunk/debs/wikimedia-base/debian/changelog
@@ -1,3 +1,9 @@
 2+wikimedia-base (0.25) hardy; urgency=low
 3+
 4+ * Only add sysctl settings to /etc/sysctl.conf pre-karmic; rely on puppet
 5+
 6+ -- Mark Bergsma <mark@wikimedia.org> Mon, 01 Feb 2010 19:57:26 +0000
 7+
28 wikimedia-base (0.24) hardy; urgency=low
39
410 * Disable "quiet splash" default kernel boot options in grub2

Status & tagging log