[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: import: launchpad: Handle list of source URLs correctly.
From: |
guix-commits |
Subject: |
01/03: import: launchpad: Handle list of source URLs correctly. |
Date: |
Tue, 1 Sep 2020 13:19:33 -0400 (EDT) |
arunisaac pushed a commit to branch master
in repository guix.
commit 8b9b5a7f5898b18442de2037c0172f114a0f901b
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Sat Jul 4 23:42:02 2020 +0530
import: launchpad: Handle list of source URLs correctly.
* guix/import/launchpad.scm (updated-launchpad-url): Return updated URL when
package has a list of URLs, not the old URL.
---
guix/import/launchpad.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guix/import/launchpad.scm b/guix/import/launchpad.scm
index c737583..1162cbe 100644
--- a/guix/import/launchpad.scm
+++ b/guix/import/launchpad.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2019 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2019, 2020 Arun Isaac <arunisaac@systemreboot.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -66,7 +66,7 @@ false if none is recognized"
((? string?)
(updated-url source-uri))
((source-uri ...)
- (find updated-url source-uri))))))
+ (any updated-url source-uri))))))
(_ #f)))
(define (launchpad-package? package)