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 --- wire-desktop/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'wire-desktop/Makefile') diff --git a/wire-desktop/Makefile b/wire-desktop/Makefile index ee40a34..e6d821b 100644 --- a/wire-desktop/Makefile +++ b/wire-desktop/Makefile @@ -1,13 +1,14 @@ .POSIX: +include ../common.mk install: test -f ~/.var/wire/WireCrypt.img test -f ~/.var/wire/WireCrypt.key mkdir -p -- ~/.var/wire/WireCrypt.d test -e ~/.config/Wire || ln -s -- ../.var/wire/WireCrypt.d/Wire ~/.config/Wire - pacman -Qq -- asroot /dev/null - pacman -Qq -- gnupg /dev/null - pacman -Qq -- cryptsetup /dev/null + $(CHECK_INSTALLED) asroot + $(CHECK_INSTALLED) gnupg + $(CHECK_INSTALLED) cryptsetup mkdir -p -- ~/.config/bash/aliases.d test ! -d ~/.config/bash/aliases.d/wire-desktop ln -sf -- ~/.dotfiles/wire-desktop/bash-aliases ~/.config/bash/aliases.d/wire-desktop -- cgit v1.2.3-70-g09d2