aboutsummaryrefslogtreecommitdiffstats
path: root/signal-desktop/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-11-18 23:23:40 +0100
committerMattias Andrée <maandree@kth.se>2023-11-18 23:23:40 +0100
commit0f1df0db903ba576fd17b08197d3066af7a61e5f (patch)
treea59c04307b1382257afa3c3512ec3abadf7e0e47 /signal-desktop/Makefile
parentUse losetup -d instead of --detach and add clean up (diff)
downloaddotfiles-0f1df0db903ba576fd17b08197d3066af7a61e5f.tar.gz
dotfiles-0f1df0db903ba576fd17b08197d3066af7a61e5f.tar.bz2
dotfiles-0f1df0db903ba576fd17b08197d3066af7a61e5f.tar.xz
A lot of changes
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'signal-desktop/Makefile')
-rw-r--r--signal-desktop/Makefile14
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