From fb0db5d269ff178322dc23ae6c18049f3f8b9772 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 25 Jun 2021 16:42:47 +0200 Subject: Let main Makefile select package manager MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- bash/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bash/Makefile') diff --git a/bash/Makefile b/bash/Makefile index e1e62ae..39dd6d3 100644 --- a/bash/Makefile +++ b/bash/Makefile @@ -1,4 +1,5 @@ .POSIX: +include ../common.mk install: mkdir -p -- ~/.var/cache @@ -27,9 +28,9 @@ install: ln -sf -- ~/.dotfiles/bash/aliases ~/.config/bash/aliases if test "$$(hostname | tr '[[:upper:]]' '[[:lower:]]')" = zenith; then \ test "$$(hostname)" = Zenith && \ - pacman -Qq -- asroot /dev/null && \ - pacman -Qq -- gnupg /dev/null && \ - pacman -Qq -- cryptsetup /dev/null && \ + $(CHECK_INSTALLED) asroot && \ + $(CHECK_INSTALLED) gnupg && \ + $(CHECK_INSTALLED) cryptsetup && \ ln -sf -- ~/.dotfiles/bash/aliases-Zenith ~/.config/bash/aliases-Zenith; \ fi -- cgit v1.2.3-70-g09d2