* [bug#73878] [PATCH] gnu: services: Fix readymedia service.
@ 2024-10-19 12:11 Fabio Natali via Guix-patches via
2024-10-20 0:53 ` Arun Isaac
0 siblings, 1 reply; 3+ messages in thread
From: Fabio Natali via Guix-patches via @ 2024-10-19 12:11 UTC (permalink / raw)
To: 73878; +Cc: arunisaac, Fabio Natali
* gnu/services/upnp.scm: Add missing '/n' end-of-line character.
Change-Id: Ib2e584f22526f1969098b843c4be6ee386ed809c
---
Hi,
This is to fix 'readymedia-configuration->config-file'.
In its current version, the procedure may generate a corrupt configuration file.
This patch fixes things by adding a new line character at the end of every
'media_dir=' line.
I hope this looks ok.
Thanks, best wishes, Fabio.
gnu/services/upnp.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/services/upnp.scm b/gnu/services/upnp.scm
index 09121326fe..e5d05add28 100644
--- a/gnu/services/upnp.scm
+++ b/gnu/services/upnp.scm
@@ -115,7 +115,7 @@ (define (readymedia-configuration->config-file config)
(match types
(() (list))
(_ (list ",")))
- (list path))))
+ (list path "\n"))))
media-directories)
(map (match-lambda
((key . value)
base-commit: 48097f511929053468ce6f09e0a24644c90fe670
--
2.46.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#73878] [PATCH] gnu: services: Fix readymedia service.
2024-10-19 12:11 [bug#73878] [PATCH] gnu: services: Fix readymedia service Fabio Natali via Guix-patches via
@ 2024-10-20 0:53 ` Arun Isaac
2024-10-20 11:28 ` bug#73878: " Arun Isaac
0 siblings, 1 reply; 3+ messages in thread
From: Arun Isaac @ 2024-10-20 0:53 UTC (permalink / raw)
To: 73878; +Cc: Fabio Natali
Hi Fabio,
Thanks for the patch. I'll push this shortly. My laptop is just busy
building something else at the moment.
Regards,
Arun
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#73878: [PATCH] gnu: services: Fix readymedia service.
2024-10-20 0:53 ` Arun Isaac
@ 2024-10-20 11:28 ` Arun Isaac
0 siblings, 0 replies; 3+ messages in thread
From: Arun Isaac @ 2024-10-20 11:28 UTC (permalink / raw)
To: 73878-done; +Cc: Fabio Natali
Pushed, thanks! I also fixed a couple of minor errors in cf33081e18 and
9b835aae10
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-10-20 11:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-19 12:11 [bug#73878] [PATCH] gnu: services: Fix readymedia service Fabio Natali via Guix-patches via
2024-10-20 0:53 ` Arun Isaac
2024-10-20 11:28 ` bug#73878: " Arun Isaac
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.