From fa58de57adc12dc3e634ec3e9f4c93012b8f141a Mon Sep 17 00:00:00 2001 From: Himadri Sekhar Basu Date: Mon, 12 Feb 2024 11:01:24 +0530 Subject: [PATCH] Fix permission for executable binary - Remove unnecessary line from snap fixing the permission --- snap/snapcraft.yaml | 3 +-- src/meson.build | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 5ce052d..55cf431 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -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 @@ -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: diff --git a/src/meson.build b/src/meson.build index 91e2142..9fe7c44 100644 --- a/src/meson.build +++ b/src/meson.build @@ -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 = [