fix some outdated python interpreter shebang

luckily lintian complained, so fix it for two plugins we add in
patches and library module from upstream.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-05-20 14:58:35 +02:00
parent 3a7603f059
commit f02194b871
3 changed files with 23 additions and 2 deletions

View File

@ -38,7 +38,7 @@ index 0000000..ab6a680
--- /dev/null
+++ b/ifupdown2/addons/bridgevlanport.py
@@ -0,0 +1,17 @@
+#!/usr/bin/python
+#!/usr/bin/env python3
+#
+
+import os
@ -61,7 +61,7 @@ index 0000000..efdf569
--- /dev/null
+++ b/ifupdown2/addons/mtu.py
@@ -0,0 +1,17 @@
+#!/usr/bin/python
+#!/usr/bin/env python3
+#
+
+import os

View File

@ -0,0 +1,20 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
Date: Sat, 20 May 2023 14:56:42 +0200
Subject: [PATCH] gvgeb: fix python interpreter shebang
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
---
ifupdown2/lib/gvgen.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ifupdown2/lib/gvgen.py b/ifupdown2/lib/gvgen.py
index bb1b00d..97ee33a 100644
--- a/ifupdown2/lib/gvgen.py
+++ b/ifupdown2/lib/gvgen.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# $Id$
"""

View File

@ -6,4 +6,5 @@ pve/0005-config-tuning.patch
pve/0006-openvswitch-ovs-ports-condone-regex-exclude-tap-veth.patch
pve/0007-allow-vlan-tag-inside-vxlan-tunnel.patch
pve/0008-lacp-bond-remove-bond-min-links-0-warning.patch
pve/0009-gvgeb-fix-python-interpreter-shebang.patch
upstream/0001-add-ipv6-slaac-support-inet6-auto-accept_ra.patch