Re: rpm --nosignature



Hello, Arpi

Fixed in CVS:
2002-12-29  Andrew V. Samoilov  <sav bcs zp ua>

        * extfs/rpm: Use --nosignature only if rpm supports this.


but in mc.ext it's still there:

# RPM packages (SuSE uses *.spm for source packages)
regex/\.(rpm|spm)$
        Open=%cd %p#rpm
        View=%view{ascii} rpm -qivlp --nosignature --scripts %f

Can somebody with RH 8.x distro test attached patch. I don't know is that rpm option order sensitive.


--
Regards,
Andrew V. Samoilov
--- mc.ext.in	Mon Jan 27 15:20:47 2003
+++ mc.ext.in	Mon Jan 27 15:14:27 2003
@@ -487,7 +489,7 @@
 # RPM packages (SuSE uses *.spm for source packages)
 regex/\.(rpm|spm)$
 	Open=%cd %p#rpm
+	View=%view{ascii} if rpm --nosignature --version >/dev/null 2>&1; then RPM="rpm --nosignature" ; else RPM="rpm" fi ; $RPM -qivlp --scripts %f
-	View=%view{ascii} rpm -qivlp --nosignature --scripts %f
 
 # deb
 regex/\.deb$


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]