[arch-commits] Commit in cordova/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sun Sep 8 20:29:08 UTC 2019


    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



More information about the arch-commits mailing list