mirror of
https://git.proxmox.com/git/ifupdown2
synced 2025-04-28 14:38:40 +00:00
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:
parent
3a7603f059
commit
f02194b871
@ -38,7 +38,7 @@ index 0000000..ab6a680
|
|||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/ifupdown2/addons/bridgevlanport.py
|
+++ b/ifupdown2/addons/bridgevlanport.py
|
||||||
@@ -0,0 +1,17 @@
|
@@ -0,0 +1,17 @@
|
||||||
+#!/usr/bin/python
|
+#!/usr/bin/env python3
|
||||||
+#
|
+#
|
||||||
+
|
+
|
||||||
+import os
|
+import os
|
||||||
@ -61,7 +61,7 @@ index 0000000..efdf569
|
|||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/ifupdown2/addons/mtu.py
|
+++ b/ifupdown2/addons/mtu.py
|
||||||
@@ -0,0 +1,17 @@
|
@@ -0,0 +1,17 @@
|
||||||
+#!/usr/bin/python
|
+#!/usr/bin/env python3
|
||||||
+#
|
+#
|
||||||
+
|
+
|
||||||
+import os
|
+import os
|
||||||
|
20
debian/patches/pve/0009-gvgeb-fix-python-interpreter-shebang.patch
vendored
Normal file
20
debian/patches/pve/0009-gvgeb-fix-python-interpreter-shebang.patch
vendored
Normal 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$
|
||||||
|
"""
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -6,4 +6,5 @@ pve/0005-config-tuning.patch
|
|||||||
pve/0006-openvswitch-ovs-ports-condone-regex-exclude-tap-veth.patch
|
pve/0006-openvswitch-ovs-ports-condone-regex-exclude-tap-veth.patch
|
||||||
pve/0007-allow-vlan-tag-inside-vxlan-tunnel.patch
|
pve/0007-allow-vlan-tag-inside-vxlan-tunnel.patch
|
||||||
pve/0008-lacp-bond-remove-bond-min-links-0-warning.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
|
upstream/0001-add-ipv6-slaac-support-inet6-auto-accept_ra.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user