Skip to content

Commit

Permalink
fix the permission error
Browse files Browse the repository at this point in the history
  • Loading branch information
soumyaDghosh committed Feb 2, 2024
1 parent b8bb299 commit 19f04c2
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 @@ -21,8 +21,7 @@ parts:
craftctl default
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/weather
craftctl default
sed -e '1c#!/usr/bin/python3' -i $CRAFT_PART_INSTALL/usr/local/bin/*
sed -e '1c#!/usr/bin/env python3' -i ${CRAFT_PART_INSTALL}/snap/mousam/current/usr/bin/weather
parse-info: [ usr/share/appdata/io.github.amit9838.weather.appdata.xml ]
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: 'r-xr--r--'
install_mode: 'rwxr--r--'
)

weather_sources = [
Expand Down

0 comments on commit 19f04c2

Please sign in to comment.