mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-09 13:02:01 +03:00
shell desc does not allow wildcards.
* regex/\.(rpm/spm)$: Use --nosignature only if rpm supports this.
This commit is contained in:
parent
781dae3544
commit
86d8893548
@ -308,7 +308,7 @@ shell/.sdw
|
|||||||
Open=(ooffice %f &)
|
Open=(ooffice %f &)
|
||||||
|
|
||||||
# StarOffice 6 and OpenOffice.org formats
|
# StarOffice 6 and OpenOffice.org formats
|
||||||
shell/.(sxw|stw|sxc|stc|sxi|sti|sxd|std|sxm|sxg)
|
regex/\.(sxw|stw|sxc|stc|sxi|sti|sxd|std|sxm|sxg)$
|
||||||
Open=(ooffice %f &)
|
Open=(ooffice %f &)
|
||||||
|
|
||||||
# AbiWord
|
# AbiWord
|
||||||
@ -446,9 +446,7 @@ shell/.cpio
|
|||||||
View=%view{ascii} cpio -itv <'%f' 2>/dev/null
|
View=%view{ascii} cpio -itv <'%f' 2>/dev/null
|
||||||
|
|
||||||
# ls-lR
|
# ls-lR
|
||||||
regex/(^|\.)ls-?lR$
|
regex/(^|\.)ls-?lR(\.g?z|Z|bz2)?$
|
||||||
Open=%cd %p#lslR
|
|
||||||
regex/(^|\.)ls-?lR\.(g?z|Z|bz2)$
|
|
||||||
Open=%cd %p#lslR
|
Open=%cd %p#lslR
|
||||||
|
|
||||||
# patch
|
# patch
|
||||||
@ -489,7 +487,7 @@ regex/\.trpm$
|
|||||||
# RPM packages (SuSE uses *.spm for source packages)
|
# RPM packages (SuSE uses *.spm for source packages)
|
||||||
regex/\.(rpm|spm)$
|
regex/\.(rpm|spm)$
|
||||||
Open=%cd %p#rpm
|
Open=%cd %p#rpm
|
||||||
View=%view{ascii} rpm -qivlp --nosignature --scripts %f
|
View=%view{ascii} if rpm --nosignature --version >/dev/null 2>&1; then RPM="rpm --nosignature" ; else RPM="rpm" fi ; $RPM -qivlp --scripts %f
|
||||||
|
|
||||||
# deb
|
# deb
|
||||||
regex/\.deb$
|
regex/\.deb$
|
||||||
|
Loading…
Reference in New Issue
Block a user