Skip to content

Commit b0692e2

Browse files
committed
module-sources: Note that FLATPAK_DEST won't be expanded in apply_extra
1 parent 391c53a commit b0692e2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/module-sources.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,15 @@ property. Instead of a symlink this also often a script like:
487487
The ``subdir`` directory comes from the contents of the extracted snap
488488
and how that is installed.
489489

490+
.. note::
491+
492+
Note that variables like ``$FLATPAK_DEST`` are not available in the
493+
runtime sandbox or in the sandbox where ``apply_extra`` is executed
494+
when installing the Flatpak.
495+
496+
Please avoid using them when creating the script in the manifest
497+
as this will be incorrectly expanded.
498+
490499
The commands needed to extract the snap are specified in the ``apply_extra``
491500
script. These can be any shell commands that run when installing the
492501
Flatpak package but note that it won't have access to anything outside

0 commit comments

Comments
 (0)