thunderbird/thunderbird-wayland.sh.in
Kalev Lember 832da56201 Avoid hardcoding /usr in launcher scripts
This fixes the launcher scripts to work when thunderbird is built with a
prefix that is not /usr, such as is the case with flatpak builds when
it's built with prefix=/app.
2019-02-21 13:45:05 +01:00

13 lines
199 B
Bash

#!/bin/bash
#
# Run Thunderbird under Wayland
#
##
## Enable Wayland backend?
##
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ]; then
export MOZ_ENABLE_WAYLAND=1
fi
exec __PREFIX__/bin/thunderbird "$@"