Remove executable bit from .node files

This commit is contained in:
Kevin Sawicki 2014-09-23 11:17:56 -07:00
parent ad9b5e5b8d
commit 0bdddc955f

View File

@ -31,6 +31,9 @@ cp "$DESKTOP_FILE" "$TARGET/usr/share/applications"
mkdir -m $FILE_MODE -p "$TARGET/usr/share/pixmaps"
cp "$ICON_FILE" "$TARGET/usr/share/pixmaps"
# Remove executable bit from .node files
find "$TARGET" -type f -name "*.node" -exec chmod a-x {} \;
fakeroot dpkg-deb -b "$TARGET"
mv "$TARGET_ROOT/atom-$VERSION-$ARCH.deb" "$DEB_PATH"
rm -rf "$TARGET_ROOT"