[Replicant] [vendor_replicant-scripts] [PATCH 1/6] replicant_prepare_patch.py: fix interpreter path

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Wed Aug 2 15:50:10 UTC 2023


Some distributions like Trisquel 10 don't necessarily have an
interpreter at /usr/bin/python.

In addition it makes sure that the right interpreter is used, as
packages like python-is-python2 can ship /usr/bin/python as a symlink
to python2 in /usr/bin.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
 patches/replicant_prepare_patch.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/patches/replicant_prepare_patch.py b/patches/replicant_prepare_patch.py
index f75b1ec..9e7f883 100755
--- a/patches/replicant_prepare_patch.py
+++ b/patches/replicant_prepare_patch.py
@@ -1,4 +1,4 @@
-#!/bin/env python
+#!/bin/env python3
 # Copyright (C) 2020 Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
 #
 # This program is free software: you can redistribute it and/or modify
-- 
2.41.0



More information about the Replicant mailing list