mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-26 14:13:26 +00:00
Since commit d10e1148 "Add initial support for preinstalling flatpaks", the test suite sets FLATPAK_DATA_DIR to a temporary directory, both while running uninstalled and as-installed. While running uninstalled we already set FLATPAK_TRIGGERSDIR to the trigger scripts in the source tree, but when running "as-installed", we need to run the triggers that the OS installs as part of the flatpak package (or equivalent). Not having this caused autopkgtests (automated as-installed tests) in Debian to regress with 1.17.x. Fixes: d10e1148 "Add initial support for preinstalling flatpaks" Signed-off-by: Simon McVittie <smcv@debian.org>
8 lines
176 B
Bash
8 lines
176 B
Bash
# Copyright 2024 Collabora Ltd.
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
FLATPAK_TRIGGERSDIR='@FLATPAK_TRIGGERSDIR@'
|
|
FUSERMOUNT='@FUSERMOUNT@'
|
|
|
|
export FLATPAK_TRIGGERSDIR
|