aboutsummaryrefslogtreecommitdiff
path: root/system/OpenSnitch/patches/use-system-python-packages.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/OpenSnitch/patches/use-system-python-packages.patch')
-rw-r--r--system/OpenSnitch/patches/use-system-python-packages.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/OpenSnitch/patches/use-system-python-packages.patch b/system/OpenSnitch/patches/use-system-python-packages.patch
index 441e01c480..d24764ea82 100644
--- a/system/OpenSnitch/patches/use-system-python-packages.patch
+++ b/system/OpenSnitch/patches/use-system-python-packages.patch
@@ -2,14 +2,14 @@ This patch was taken from Arch Linux repositories:
https://gitlab.archlinux.org/archlinux/packaging/packages/opensnitch/-/blob/main/use-system-python-packages.patch
--- a/ui/Makefile
+++ b/ui/Makefile
-@@ -3,16 +3,13 @@ all: opensnitch/resources_rc.py
+@@ -3,16 +3,13 @@
install:
@pip3 install --upgrade .
-opensnitch/resources_rc.py: translations deps
+opensnitch/resources_rc.py: translations
@pyrcc5 -o opensnitch/resources_rc.py opensnitch/res/resources.qrc
- sed -i 's/^import ui_pb2/from . import ui_pb2/' opensnitch/ui_pb2*
+ @find opensnitch/proto/ -name 'ui_pb2_grpc.py' -exec sed -i 's/^import ui_pb2/from . import ui_pb2/' {} \;
translations:
@cd i18n ; make