aboutsummaryrefslogtreecommitdiff
path: root/development/atom/atom.SlackBuild
diff options
context:
space:
mode:
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 a723a070c0bb4..93da323fdf48f 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