diff options
author | DhabyX <slack.dhabyx@gmail.com> | 2016-10-30 11:04:53 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-10-31 23:33:49 +0700 |
commit | 21c9d4d66ad1f7ca79cab7e93ca3a23fe83989e7 (patch) | |
tree | aa022b816717d28ea6cd48bef69b48db0ba76aeb /development/atom/atom.SlackBuild | |
parent | 57fdec2ebb64cb0021814866de352cdfd36f19cc (diff) |
development/atom: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/atom/atom.SlackBuild')
-rw-r--r-- | development/atom/atom.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/development/atom/atom.SlackBuild b/development/atom/atom.SlackBuild index 3480a6243609f..95ff21ad56566 100644 --- a/development/atom/atom.SlackBuild +++ b/development/atom/atom.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=atom VERSION=${VERSION:-1.11.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} #Disable send metrics to Google Analytics module @@ -98,8 +98,10 @@ fi install -Dm755 atom.sh $PKG/usr/bin/atom cp -r out/$PRGNAM-$VERSION-$ARCH_OUTPUT/* $PKG/usr/share/atom/ -ln -sf $PKG/usr/share/atom/resources/app/apm/node_modules/.bin/apm \ - $PKG/usr/bin/apm +( + cd $PKG/usr/bin + ln -sf ../share/atom/resources/app/apm/node_modules/.bin/apm apm +) find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |