/[smeserver]/rpms/yum-plugin-installonlyn/sme7/yum-plugin-installonlyn-sme_fix.patch
ViewVC logotype

Contents of /rpms/yum-plugin-installonlyn/sme7/yum-plugin-installonlyn-sme_fix.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sat Mar 29 19:52:31 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
Import on branch sme7 of package yum-plugin-installonlyn-0.91-1.el4.sme.src.rpm

1 diff -uNr yum-plugin-installonlyn-0.91/installonlyn.conf yum-plugin-installonlyn-0.91.patch/installonlyn.conf
2 --- yum-plugin-installonlyn-0.91/installonlyn.conf 2007-05-23 14:29:34.000000000 -0600
3 +++ yum-plugin-installonlyn-0.91.patch/installonlyn.conf 2008-03-26 23:17:25.000000000 -0600
4 @@ -1,3 +1,3 @@
5 [main]
6 enabled=1
7 -tokeep=2
8 +tokeep=5
9 diff -uNr yum-plugin-installonlyn-0.91/installonlyn.py yum-plugin-installonlyn-0.91.patch/installonlyn.py
10 --- yum-plugin-installonlyn-0.91/installonlyn.py 2007-05-23 14:29:34.000000000 -0600
11 +++ yum-plugin-installonlyn-0.91.patch/installonlyn.py 2008-03-26 22:57:48.000000000 -0600
12 @@ -14,7 +14,7 @@
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
15 #
16 -# version 0.90
17 +# version 0.91 By Paul Floor for SME integration
18
19 import os
20 from rpmUtils import miscutils
21 @@ -56,7 +56,7 @@
22 if (m.name == instpkg or instpkg in m.po.getProvidesNames()) \
23 and m.ts_state in ('i', 'u'):
24 installed = rpmdb.returnTupleByKeyword(name=m.name)
25 - if len(installed) >= num_tokeep - 1: # since we're adding one
26 + if len(installed) > num_tokeep - 1: # since we're adding one
27 numleft = len(installed) - num_tokeep + 1
28 (curv, curr) = get_running_kernel_version_release()
29

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed