void-packages/srcpkgs/mc/patches/xbps.patch

15 lines
341 B
Diff

--- a/misc/mc.ext.ini.in
+++ b/misc/mc.ext.ini.in
@@ -238,9 +238,9 @@
Open=%cd %p/utar://
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.lz4
-# .tar.xz, .txz
+# .tar.xz, .txz, .xbps
[tar.xz]
-Regex=\\.t(ar\\.xz|xz)$
+Regex=\\.(t(ar\\.xz|xz)|xbps)$
Open=%cd %p/utar://
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.xz