misc/shared-mime-info: Fix python shebang patch.
Sponsored by: Serenity Cybersecurity, LLC
This commit is contained in:
parent
5cf68e3623
commit
c3ddb09acd
@ -1,6 +1,6 @@
|
||||
PORTNAME= shared-mime-info
|
||||
DISTVERSION= 2.2
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= misc gnome
|
||||
|
||||
MAINTAINER= desktop@FreeBSD.org
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<comment>Python 3 script</comment>
|
||||
<sub-class-of type='text/x-python'/>
|
||||
<magic priority="60"><!-- higher priority than text/x-python -->
|
||||
+ <match type="string" value="#!/usr/local/bin/python3.8" offset="0" />
|
||||
+ <match type="string" value="#!%%PYTHON_CMD%%" offset="0" />
|
||||
<match type="string" value="#!/bin/python3" offset="0"/>
|
||||
<match type="string" value="#! /bin/python3" offset="0"/>
|
||||
<match type="string" value='eval \"exec /bin/python3' offset="0"/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user