diff --git a/debian/rules b/debian/rules index 8657f86..d7b36a9 100755 --- a/debian/rules +++ b/debian/rules @@ -19,3 +19,6 @@ # Fix favor ISO 639-1 when differing from ISO 639-2 mv debian/$(PKG)/usr/share/locale/aym \ debian/$(PKG)/usr/share/locale/ay +# Ensure proper hash-bang in Python script (Python Policy 0.9 ยง3.1) + perl -pi -e 's,^#! ?(/usr/bin/)?(env )?python[[:print:]]*$$,#!/usr/bin/python3,' \ + debian/*/usr/share/sugar/activities/*/*.py