Comment 1 for bug 1989499

Revision history for this message
Tony Espy (awe) wrote :

The extension adds:

hooks:
    configure:
        plugs:
        - desktop
        command-chain:
        - snap/command-chain/hooks-configure-fonts

...which should lead to snapd calling snap/command-chain/hooks-configure-fonts, then `snap/hooks/configure`. The the latter is never called in this case.

The bug is that the command-chain `hooks-configure-fonts` script that gets installed by the extension runs the command:

exec "${SNAP}/snap/command-chain/run" "${SNAP}/gnome-platform/command-chain/hooks-configure-fonts" "$@"

The script run actually checks for the existence of `${SNAP}/gnome-platform/command-chain/hooks-configure-fonts`, doesn't find it (because it's not available from the gnome-42-2204 snap), and silently exits using exit (v.s. exit 1 which would cause the hook to fail).