From 6e3c73313d1f1b578b40d402e7186c6015715131 Mon Sep 17 00:00:00 2001 From: Rmys Date: Wed, 4 Aug 2021 13:12:14 +0300 Subject: [PATCH] catfish rebuild py3 --- desktop/xfce/addon/catfish/actions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desktop/xfce/addon/catfish/actions.py b/desktop/xfce/addon/catfish/actions.py index 6c4c634f13..c2f7430458 100644 --- a/desktop/xfce/addon/catfish/actions.py +++ b/desktop/xfce/addon/catfish/actions.py @@ -6,8 +6,10 @@ from pisi.actionsapi import pythonmodules from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools def build(): + shelltools.system("grep -rl '^#!.*python$' | xargs sed -i '1s/python/&3/'") pythonmodules.compile(pyVer="3") def install():