Date: Sunday, September 8, 2019 @ 20:29:08
  Author: jelle
Revision: 509026

remove pyc files installed by npm

Modified:
  cordova/trunk/PKGBUILD

----------+
 PKGBUILD |    3 +++
 1 file changed, 3 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-09-08 19:52:00 UTC (rev 509025)
+++ PKGBUILD    2019-09-08 20:29:08 UTC (rev 509026)
@@ -19,6 +19,9 @@
   # Why 777? :/
   chmod -R u=rwX,go=rX "$pkgdir"
 
+  # Delete npm installed pyc files
+  find "$pkgdir" -name "*.pyc" -delete
+
   # Experimental dedup
   cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules
   for dep in acorn semver browserify uglify-js eslint; do

Reply via email to