aboutsummaryrefslogtreecommitdiffstats
path: root/build-helpers/snap-hooks/configure
diff options
context:
space:
mode:
Diffstat (limited to 'build-helpers/snap-hooks/configure')
-rwxr-xr-xbuild-helpers/snap-hooks/configure7
1 files changed, 7 insertions, 0 deletions
diff --git a/build-helpers/snap-hooks/configure b/build-helpers/snap-hooks/configure
new file mode 100755
index 000000000..74f77985b
--- /dev/null
+++ b/build-helpers/snap-hooks/configure
@@ -0,0 +1,7 @@
1#!/usr/bin/env bash
2set -eu
3
4wayland_native="$(snapctl get wayland-native)"
5if [[ -z "$wayland_native" ]]; then
6 snapctl set wayland-native=true
7fi