Skip to content
This repository was archived by the owner on Apr 25, 2024. It is now read-only.

fix xdg-email #36

Merged
merged 2 commits into from
Mar 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,16 @@ parts:
- -usr/share/upstart
- -usr/share/zsh
- -var

# Create a symlink xdg-email -> xdg-open, as the latter is perfectly able to
# handle mailto: URLs (see https://launchpad.net/bugs/1849774).
# xdg-open is a wrapper provided by the core snap.
xdg-email:
plugin: nil
override-pull: ""
override-prime: |
set -eux
mkdir -p usr/bin
cp /snap/core22/current/usr/bin/xdg-open usr/bin
cd usr/bin
ln -s xdg-open xdg-email