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 01d20f4 commit fa58de5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ architectures:

parts:
mousam:
source: https://github.com/amit9838/mousam.git
source: . #https://github.com/amit9838/mousam.git
source-depth: 1
#source-tag: used when there will be a new release with these fixes
plugin: meson
Expand All @@ -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 fa58de5

Please sign in to comment.