~mil/sxmo-devel

sxmo-utils: do not use sxmo_hooks.sh for the icon hook (the hook variables don't live long enough) v1 APPLIED

Maarten van Gompel: 1
 do not use sxmo_hooks.sh for the icon hook (the hook variables don't live long enough)

 1 files changed, 1 insertions(+), 1 deletions(-)
#550257 .build.yml failed
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~mil/sxmo-devel/patches/23936/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH sxmo-utils] do not use sxmo_hooks.sh for the icon hook (the hook variables don't live long enough) Export this patch

The current icons hook via sxmo_hooks.sh never worked, we need to really
source it. See also the discussion in the IRC channel today:

---
 scripts/core/sxmo_common.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/core/sxmo_common.sh b/scripts/core/sxmo_common.sh
index d2e10bd..44317b8 100644
--- a/scripts/core/sxmo_common.sh
+++ b/scripts/core/sxmo_common.sh
@@ -255,4 +255,4 @@ icon_bok=""
icon_map=""

#allow the user to override icons
sxmo_hooks.sh icons
[ -x "$XDG_CONFIG_HOME/sxmo/hooks/icons" ] && source "$XDG_CONFIG_HOME/sxmo/hooks/icons"
--
2.32.0
builds.sr.ht
sxmo-utils/patches/.build.yml: FAILED in 21s

[do not use sxmo_hooks.sh for the icon hook (the hook variables don't live long enough)][0] from [Maarten van Gompel][1]

[0]: https://lists.sr.ht/~mil/sxmo-devel/patches/23936
[1]: mailto:proycon@anaproy.nl

✗ #550257 FAILED sxmo-utils/patches/.build.yml https://builds.sr.ht/~mil/job/550257
Nice catch

To git.sr.ht:~mil/sxmo-utils
   044e756..d1f4561  d1f4561 -> master