Red Hat Bugzilla – Bug 138
Viewing RPM files in mc no longer works
Last modified: 2017-11-16 08:53:28 EST
The new version of rpm (rpm-2.5.5-5.2) in RedHat 5.2 breaks
the rpm browsing ability of mc. I think this is because rpm
-qvl no longer has a separate column for the sticky bit, but
instead gives the same output as ls -l. The loss of this
column broke the sed script, which looked for either a - or
--- /usr/lib/mc/extfs/rpm.orig Thu Nov 19 23:25:40 1998
+++ /usr/lib/mc/extfs/rpm Thu Nov 19 23:29:15 1998
@@ -97,7 +97,7 @@
echo "$FILEPREF 0 $DATE INFO/CHANGELOG"
- rpm -qlvp $1 | sed -e 's/^\(..........\)[-t] /\1 1 /'
+ rpm -qlvp $1 | sed -e 's/^\(..........\) /\1 1 /'
*** This bug has been marked as a duplicate of 13 ***
Commit pushed to master at https://github.com/openshift/openshift-ansible
Fixes issue #138