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

Annotation 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.2 - (hide annotations) (download)
Sat Mar 29 20:33:06 2008 UTC (16 years, 3 months ago) by slords
Branch: MAIN
CVS Tags: yum-plugin-installonlyn-0_91-1_el4_sme, HEAD
Changes since 1.1: +14 -21 lines
Fix patch

1 slords 1.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 slords 1.2 --- yum-plugin-installonlyn-0.91/installonlyn.py.sme 2007-05-23 14:29:34.000000000 -0600
10     +++ yum-plugin-installonlyn-0.91/installonlyn.py 2008-03-29 14:25:17.000000000 -0600
11     @@ -64,9 +64,9 @@
12     for (n, a, e, v, r) in installed:
13     if (v, r) == (curv, curr): # don't remove running
14     continue
15     - toremove.append(YumInstalledPackage(rpmdb.returnHeaderByTuple((n,a,e,v,r))[0]))
16     - numleft -= 1
17     if numleft == 0:
18     break
19     + toremove.append(YumInstalledPackage(rpmdb.returnHeaderByTuple((n,a,e,v,r))[0]))
20     + numleft -= 1
21    
22     map(lambda x: ts.addErase(x), toremove)

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