From 18c6c36904cd7d7547cbd8f952f96d12a91c6f00 Mon Sep 17 00:00:00 2001 From: Himadri Sekhar Basu Date: Mon, 12 Feb 2024 14:47:57 +0530 Subject: [PATCH] Fix permission for executable binary - Remove unnecessary line from snap fixing the permission --- snap/snapcraft.yaml | 1 - src/meson.build | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 5ce052d..82be3de 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -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 = [