[File] [PATCH] Recognize Makeself SFX archives

Michał Górny mgorny at gentoo.org
Sun Oct 2 11:50:06 UTC 2022


---
 magic/Magdir/commands | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/magic/Magdir/commands b/magic/Magdir/commands
index a257eb2b..4e91a098 100644
--- a/magic/Magdir/commands
+++ b/magic/Magdir/commands
@@ -8,6 +8,8 @@
 !:mime	text/x-shellscript
 0	string/fwb	#!\ /bin/sh		POSIX shell script executable (binary data)
 !:mime	text/x-shellscript
+>10	string	\#\040This\040script\040was\040generated\040using\040Makeself	\b, self-executable archive
+>>53	string	x	\b, Makeself %s
 
 0	string/fwt	#!\ /bin/csh		C shell script text executable
 !:mime	text/x-shellscript
-- 
2.37.3



More information about the File mailing list