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():