Date: Sunday, September 8, 2019 @ 18:45:41
  Author: jelle
Revision: 509010

remove pyc files installed by npm.

Modified:
  phonegap/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-09-08 18:32:24 UTC (rev 509009)
+++ PKGBUILD    2019-09-08 18:45:41 UTC (rev 509010)
@@ -20,6 +20,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 semver cordova; do

Reply via email to