Hello!
I think that mc.ext should become a script some day. It would either
run something itself or it would return a command (like %view) back to
mc. It would be easier to write such rules without having to put them
on one line.
May be it worth the efforts to implement multiline
Hello!
+# View=%view{ascii} ar p %f control.tar.gz | tar xzO control ./control
2/dev/null ; echo ; echo Filelist: ; ar p %f data.tar.gz | tar tzv
That's something different. Checking for programs in PATH from mc.ext is
not implemented, but it's planned.
Stupid me :-(
I didn't
(SuSE uses *.spm for source packages)
regex/\.(rpm|spm)$
Open=%cd %p#rpm
+ View=%view{ascii} if rpm --nosignature --version /dev/null 21; then
+RPM=rpm --nosignature ; else RPM=rpm fi ; $RPM -qivlp --scripts %f
- View=%view{ascii} rpm -qivlp --nosignature --scripts %f
# deb
Hi,
Hello!
Can somebody with RH 8.x distro test attached patch. I don't know is
that rpm option order sensitive.
It's working fine. Thank you!
hmm.
then teh same trick (if ... then) could be used for dpkg-less systems,
to fallback to ar+tar if no dpkg installed:
+# for dpkg-less
and rpm --nosignature accept the same parameters,
while ar and dpkg accept very different parameters. Maybe if dpkg is
missing, the dpkg script should behave exactly as the uar script.
+# for dpkg-less systems:
+# Open=%cd %p#uar
+# View=%view{ascii} ar p %f control.tar.gz | tar xzO
Pavel Roskin wrote:
Hello!
It could be a good idea to remove the --nosignature options (rpm)
from the extension files. As an example, neither Mandrake's RPM 4.0.3
(Mandrake 8.2) nor 4.0.4 (Mandrake 9.0) has this option.
(Is it RH-specific, or is it only present in newer versions?)
The