aboutsummaryrefslogtreecommitdiffstats
path: root/element-desktop/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--element-desktop/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/element-desktop/Makefile b/element-desktop/Makefile
index 60aeb57..6426e83 100644
--- a/element-desktop/Makefile
+++ b/element-desktop/Makefile
@@ -1,13 +1,14 @@
.POSIX:
+include ../common.mk
install:
test -f ~/.var/element/ElementCrypt.img
test -f ~/.var/element/ElementCrypt.key
mkdir -p -- ~/.var/element/ElementCrypt.d
test -e ~/.config/Element || ln -s -- ../.var/element/ElementCrypt.d/Element ~/.config/Element
- 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/element-desktop
ln -sf -- ~/.dotfiles/element-desktop/bash-aliases ~/.config/bash/aliases.d/element-desktop