From 5e08a2c34b39a00e356a998941748f6ab86e70a7 Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Thu, 25 Nov 2021 20:17:07 +0100 Subject: [PATCH] fixed make failing if no revoked is present --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a60de4a..742baea 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ install: install -dm755 $(DESTDIR)$(PREFIX)/share/pacman/keyrings/ install -m0644 alhp.gpg $(DESTDIR)$(PREFIX)/share/pacman/keyrings/ install -m0644 alhp-trusted $(DESTDIR)$(PREFIX)/share/pacman/keyrings/ - install -m0644 alhp-revoked $(DESTDIR)$(PREFIX)/share/pacman/keyrings/ + test -f alhp-revoked && install -m0644 alhp-revoked $(DESTDIR)$(PREFIX)/share/pacman/keyrings/ || true uninstall: rm -f $(DESTDIR)$(PREFIX)/share/pacman/keyrings/alhp{.gpg,-trusted,-revoked}