From 6bc0ee806f0a0854a3b65fa975b8555e01efacfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pascal=20J=C3=A4ger?= Date: Sun, 22 Jan 2023 19:55:46 +0100 Subject: [PATCH] Makefile: Ignore ubuntu initramfs uninstall fail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this stops the Makefile with an error, if it can not find `initramfs/ubuntu/setup` (which it wont in case of a non-Ubuntu distro.) Signed-off-by: Pascal Jäger --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3dd3e7c..a1efe5d 100644 --- a/Makefile +++ b/Makefile @@ -86,7 +86,7 @@ uninstall: @rm -f "$(DESTDIR)/etc/conf.d/grub-btrfsd;" @rm -f "$(LIB_DIR)/initcpio/install/grub-btrfs-overlayfs" @rm -f "$(LIB_DIR)/initcpio/hooks/grub-btrfs-overlayfs" - @initramfs/ubuntu/setup uninstall + @initramfs/ubuntu/setup uninstall || true @rm -f "$(MAN_DIR)/man8/grub-btrfs.8.bz2" @rm -f "$(MAN_DIR)/man8/grub-btrfsd.8.bz2" @# Arch Linux UNlike distros only :