summaryrefslogtreecommitdiff
path: root/development/atom/atom.SlackBuild
diff options
context:
space:
mode:
authorDhabyX <slack.dhabyx@gmail.com>2015-09-26 07:44:04 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-26 07:44:04 +0700
commit6642394a4fd4df5488c228a34f4548fd000926c5 (patch)
treed138568f04a51d6048b6476cd0bc868bc2653892 /development/atom/atom.SlackBuild
parentaa436b5fc6dc3e3fe6b3efbc218b65f057e91be2 (diff)
downloadslackbuilds-6642394a4fd4df5488c228a34f4548fd000926c5.tar.gz
development/atom: Updated for version 1.0.19.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/atom/atom.SlackBuild')
-rw-r--r--development/atom/atom.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/development/atom/atom.SlackBuild b/development/atom/atom.SlackBuild
index a723a070c0..93da323fdf 100644
--- a/development/atom/atom.SlackBuild
+++ b/development/atom/atom.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=atom
-VERSION=${VERSION:-1.0.7}
+VERSION=${VERSION:-1.0.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -91,8 +91,11 @@ BUILD_DIR=$PWD/destbuild
PYTHON=python2 \
./script/grunt --build-dir=$BUILD_DIR --install-dir=$PKG/usr install
-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
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# move apm symlink to atom-apm for prevent conflicts with apmd package.
mv $PKG/usr/bin/apm $PKG/usr/bin/atom-apm