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

Jelle van der Waa jelle at archlinux.org
Sun Sep 8 18:45:42 UTC 2019


    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



More information about the arch-commits mailing list