misc/shared-mime-info: Fix python shebang patch.

Sponsored by:	Serenity Cybersecurity, LLC
This commit is contained in:
Gleb Popov 2024-06-30 17:52:13 +03:00
parent 5cf68e3623
commit c3ddb09acd
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= shared-mime-info
DISTVERSION= 2.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= misc gnome
MAINTAINER= desktop@FreeBSD.org

View File

@ -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"/>