Skip to content

Commit

Permalink
Fix permission for executable binary
Browse files Browse the repository at this point in the history
- Remove unnecessary line from snap
  fixing the permission
  • Loading branch information
hsbasu committed Feb 12, 2024
1 parent 46086a5 commit 18c6c36
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ parts:
pip install --prefix=$CRAFT_PART_INSTALL/usr requests==2.30.0
override-build: |
craftctl default
chmod +x $CRAFT_PART_INSTALL/snap/mousam/current/usr/bin/mousam
sed -e '1c#!/usr/bin/env python3' -i ${CRAFT_PART_INSTALL}/snap/mousam/current/usr/bin/mousam
parse-info: [ usr/share/appdata/io.github.amit9838.mousam.appdata.xml ]
organize:
Expand Down
2 changes: 1 addition & 1 deletion src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ configure_file(
configuration: conf,
install: true,
install_dir: get_option('bindir'),
install_mode: 'rwxr-xr--'
install_mode: 'rwxr-xr-x'
)

mousam_sources = [
Expand Down

0 comments on commit 18c6c36

Please sign in to comment.