Blob Blame History Raw
--- yum/config.py~  2008-02-08 16:22:27.000000000 -0500
+++ yum/config.py   2008-02-08 16:22:28.000000000 -0500
@@ -593,7 +593,7 @@
     # NOTE: If you set this to 2, then because it keeps the current kernel it
     # means if you ever install an "old" kernel it'll get rid of the newest one
     # so you probably want to use 3 as a minimum ... if you turn it on.
-    installonly_limit = PositiveIntOption(0, range_min=2,
+    installonly_limit = PositiveIntOption(3, range_min=2,
                                           names_of_0=["0", "<off>"])
     kernelpkgnames = ListOption(['kernel','kernel-smp', 'kernel-enterprise',
             'kernel-bigmem', 'kernel-BOOT', 'kernel-PAE', 'kernel-PAE-debug'])

--- docs/yum.conf.5.orig	2010-06-21 17:39:17.000000000 -0400
+++ docs/yum.conf.5	2010-09-14 12:11:40.897615896 -0400
@@ -141,7 +141,7 @@
 .IP
 \fBinstallonly_limit \fR
 Number of packages listed in installonlypkgs to keep installed at the same
-time. Setting to 0 disables this feature. Default is '0'. Note that this
+time. Setting to 0 disables this feature. Default is '3'. Note that this
 functionality used to be in the "installonlyn" plugin, where this option was
 altered via. tokeep.
 Note that as of version 3.2.24, yum will now look in the yumdb for a installonly