diff options
Diffstat (limited to '')
-rw-r--r-- | signal-desktop/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/signal-desktop/Makefile b/signal-desktop/Makefile index 2aa0c96..ce08e1d 100644 --- a/signal-desktop/Makefile +++ b/signal-desktop/Makefile @@ -1,20 +1,20 @@ .POSIX: -include ../common.mk install: test -f ~/.var/opt/signal/SignalCrypt.img test -f ~/.var/opt/signal/SignalCrypt.key mkdir -p -- ~/.var/opt/signal/SignalCrypt.d test -e ~/.config/Signal || ln -sf -- ../.var/opt/signal/SignalCrypt.d/Signal ~/.config/Signal - $(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/signal-desktop + test ! -e ~/.config/bash/aliases.d/signal-desktop || \ + test -L ~/.config/bash/aliases.d/signal-desktop ln -sf -- ~/.dotfiles/signal-desktop/bash-aliases ~/.config/bash/aliases.d/signal-desktop uninstall: + +! ../check-installed signal-desktop -unlink -- ~/.config/bash/aliases.d/signal-desktop -rmdir -- ~/.config/bash/aliases.d - -.PHONY: install uninstall |