aboutsummaryrefslogtreecommitdiffstats
path: root/signal-desktop/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'signal-desktop/Makefile')
-rw-r--r--signal-desktop/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/signal-desktop/Makefile b/signal-desktop/Makefile
index 9dd157d..c0da6aa 100644
--- a/signal-desktop/Makefile
+++ b/signal-desktop/Makefile
@@ -1,13 +1,14 @@
.POSIX:
+include ../common.mk
install:
test -f ~/.var/signal/SignalCrypt.img
test -f ~/.var/signal/SignalCrypt.key
mkdir -p -- ~/.var/signal/SignalCrypt.d
test -e ~/.config/Signal || ln -s -- ../.var/signal/SignalCrypt.d/Signal ~/.config/Signal
- pacman -Qq -- asroot </dev/null >/dev/null
- pacman -Qq -- gnupg </dev/null >/dev/null
- pacman -Qq -- cryptsetup </dev/null >/dev/null
+ $(CHECK_INSTALLED) asroot
+ $(CHECK_INSTALLED) gnupg
+ $(CHECK_INSTALLED) cryptsetup
mkdir -p -- ~/.config/bash/aliases.d
test ! -d ~/.config/bash/aliases.d/signal-desktop
ln -sf -- ~/.dotfiles/signal-desktop/bash-aliases ~/.config/bash/aliases.d/signal-desktop