Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 253811 Details for
Bug 344751
kpackage does not uninstall RPMs
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fixes the uninstall problem
kpackage-uninstall-fix.patch (text/plain), 1.01 KB, created by
Serguei Miridonov
on 2007-11-10 01:35:42 UTC
(
hide
)
Description:
Fixes the uninstall problem
Filename:
MIME Type:
Creator:
Serguei Miridonov
Created:
2007-11-10 01:35:42 UTC
Size:
1.01 KB
patch
obsolete
>diff -ru kdeadmin/F-7/kdeadmin-3.5.8/kpackage/rpmInterface.cpp kdeadmin-new/F-7/kdeadmin-3.5.8/kpackage/rpmInterface.cpp >--- kdeadmin/F-7/kdeadmin-3.5.8/kpackage/rpmInterface.cpp 2006-10-01 10:22:11.000000000 -0700 >+++ kdeadmin-new/F-7/kdeadmin-3.5.8/kpackage/rpmInterface.cpp 2007-11-09 17:01:19.000000000 -0800 >@@ -500,11 +500,7 @@ > files.append( pk->getProperty("name") ); > } > >- if (getuid() == 0) { >- return doUninst(uninstallFlags,files, test); >- } else { >- return doUninstP(uninstallFlags,files, test); >- } >+ return doUninstP(uninstallFlags,files, test); > } > > QString RPM::uninstall(int uninstallFlags, packageInfo *p, bool &test) >@@ -512,11 +508,7 @@ > QStringList files; > files.append( p->getProperty("name") ); > >- if (getuid() == 0) { >- return doUninstP(uninstallFlags,files, test); >- } else { >- return doUninstP(uninstallFlags,files, test); >- } >+ return doUninstP(uninstallFlags,files, test); > } > > QString RPM::doUninstP(int uninstallFlags, const QStringList &files, bool &test)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 344751
:
253811
|
255171