From 15ef8faa402b0fb2282895f1378cf1e9b48942c1 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 4 Dec 2018 18:48:03 +0100 Subject: [PATCH] mkinitcpio-encryptssh: fix update check --- srcpkgs/mkinitcpio-encryptssh/update | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/srcpkgs/mkinitcpio-encryptssh/update b/srcpkgs/mkinitcpio-encryptssh/update index 86c9b7a005b..5f447f65e00 100644 --- a/srcpkgs/mkinitcpio-encryptssh/update +++ b/srcpkgs/mkinitcpio-encryptssh/update @@ -1,2 +1 @@ -site="https://api.github.com/repos/grazzolini/dropbear_initrd_encrypt/tags" -pattern='"name":\s*"[^\d]*\K([\d\.]+)' +pattern='/archive/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\-1.tar\.gz")'