[arch-commits] Commit in uglify-js/trunk (PKGBUILD uglify-js.install)

Levente Polyak anthraxx at archlinux.org
Wed Oct 26 01:23:13 UTC 2016


    Date: Wednesday, October 26, 2016 @ 01:23:12
  Author: anthraxx
Revision: 193384

add permission fix install script

Added:
  uglify-js/trunk/uglify-js.install
Modified:
  uglify-js/trunk/PKGBUILD

-------------------+
 PKGBUILD          |    1 +
 uglify-js.install |    8 ++++++++
 2 files changed, 9 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-26 01:05:34 UTC (rev 193383)
+++ PKGBUILD	2016-10-26 01:23:12 UTC (rev 193384)
@@ -11,6 +11,7 @@
 license=('BSD')
 depends=('nodejs')
 makedepends=('npm')
+install=${pkgname}.install
 source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
 noextract=($pkgname-$pkgver.tgz)
 md5sums=('c6be07d1fd8ae19e2a66ccdd4fb9eac9')

Added: uglify-js.install
===================================================================
--- uglify-js.install	                        (rev 0)
+++ uglify-js.install	2016-10-26 01:23:12 UTC (rev 193384)
@@ -0,0 +1,8 @@
+post_install() {
+  # fixup permissions
+  chmod 755 /usr/lib/node_modules
+}
+
+post_upgrade() {
+  post_install
+}



More information about the arch-commits mailing list