aboutsummaryrefslogtreecommitdiffstats
path: root/wire-desktop/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--wire-desktop/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/wire-desktop/Makefile b/wire-desktop/Makefile
index 41e4b5a..60a1b18 100644
--- a/wire-desktop/Makefile
+++ b/wire-desktop/Makefile
@@ -1,20 +1,20 @@
.POSIX:
-include ../common.mk
install:
test -f ~/.var/opt/wire/WireCrypt.img
test -f ~/.var/opt/wire/WireCrypt.key
mkdir -p -- ~/.var/opt/wire/WireCrypt.d
test -e ~/.config/Wire || ln -sf -- ../.var/opt/wire/WireCrypt.d/Wire ~/.config/Wire
- $(CHECK_INSTALLED) asroot
- $(CHECK_INSTALLED) gnupg
- $(CHECK_INSTALLED) cryptsetup
+ ../check-any-installed asroot asroot-libpassphrase
+ ../check-installed gnupg
+ ../check-installed cryptsetup
+ ../check-installed key2root
mkdir -p -- ~/.config/bash/aliases.d
- test ! -d ~/.config/bash/aliases.d/wire-desktop
+ test ! -e ~/.config/bash/aliases.d/wire-desktop || \
+ test -L ~/.config/bash/aliases.d/wire-desktop
ln -sf -- ~/.dotfiles/wire-desktop/bash-aliases ~/.config/bash/aliases.d/wire-desktop
uninstall:
+ +! ../check-installed wire-desktop
-unlink -- ~/.config/bash/aliases.d/wire-desktop
-rmdir -- ~/.config/bash/aliases.d
-
-.PHONY: install uninstall