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

Nicola Squartini tensor5 at archlinux.org
Tue Mar 19 07:21:29 UTC 2019


    Date: Tuesday, March 19, 2019 @ 07:21:28
  Author: tensor5
Revision: 442597

upgpkg: apm 2.1.3-3

Modified:
  apm/trunk/PKGBUILD
  apm/trunk/apm.js

----------+
 PKGBUILD |    4 ++--
 apm.js   |    9 +++------
 2 files changed, 5 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-19 07:20:27 UTC (rev 442596)
+++ PKGBUILD	2019-03-19 07:21:28 UTC (rev 442597)
@@ -2,7 +2,7 @@
 
 pkgname=apm
 pkgver=2.1.3
-pkgrel=2
+pkgrel=3
 pkgdesc='Atom package manager'
 arch=('x86_64')
 url='https://github.com/atom/apm'
@@ -19,7 +19,7 @@
         'python2.patch'
         'use-system-npm.patch')
 sha512sums=('99881317cbcdc8b813c113208311932e28a227ecbb88844addca8aabd008d3b3fde7af667cd896ed12fddff0d539b521fc7f58bc72cedb522db65c41d4a4946a'
-            '7ef40058bb50189729a541f8e74191336f9652f12e70118e8b24c207e42f00c8f548d408759f261d8b0f2f67f7296e38d771694e45570102e28be1e6b9788d6c'
+            '2453d6e06e6e012baec1787b751e20be354daecf0799c97698491c00546483844532d1b3c02c9c1b6e0a800ccf16ee0f4fff0bfbd5210eca0ad296ed91002aea'
             'da2e2c6b336b87371541ef159201f6942c606f7c8b212f1a610a8605bb08ddc97ed1ade7f1c02339c40c40f22d8a7d37b1686fb5c7105a775fa85ff6048162dc'
             '2fedcfc04c03059429c231c5bbd3d5e4b32a30ea9d341c3e27dcbba0deee1e4c8d27d993c59ee96aebf0a0c930b7cc55177e3600c18349dd2b91ebac7bd96632'
             '96449a53197e7b498561e8fb820f2d60aa4d77cd4364b97e7e595d49776e3ad7fb89b944174be55ad3b81b6b64d65c0f12c5b8cf3eeb1bad8ac18dfdf3c6b610')

Modified: apm.js
===================================================================
--- apm.js	2019-03-19 07:20:27 UTC (rev 442596)
+++ apm.js	2019-03-19 07:21:28 UTC (rev 442597)
@@ -2,15 +2,12 @@
 
 "use strict";
 
-process.env.ATOM_RESOURCE_PATH = process.env.ATOM_RESOURCE_PATH ||
-        "/usr/lib/atom";
+process.env.ATOM_RESOURCE_PATH = process.env.ATOM_RESOURCE_PATH || "/usr/lib/atom";
 
-process.env.ATOM_ELECTRON_VERSION = process.env.ATOM_ELECTRON_VERSION ||
-        require("fs")
-    .readFileSync("/usr/lib/electron/version", "utf8").trim().slice(1);
+process.env.ATOM_ELECTRON_VERSION = process.env.ATOM_ELECTRON_VERSION || require("fs").readFileSync("/usr/lib/electron/version", "utf8");
 
 process.env.npm_config_python = __dirname + "/python-interceptor.sh";
 
 require("../lib/apm-cli.js").run(process.argv.slice(2), function (error) {
-    process.exitCode = +!!error;
+    process.exitCode = Number(Boolean(error));
 });


More information about the arch-commits mailing list