aboutsummaryrefslogtreecommitdiffstats
path: root/wire-desktop/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--wire-desktop/Makefile19
1 files changed, 13 insertions, 6 deletions
diff --git a/wire-desktop/Makefile b/wire-desktop/Makefile
index 60a1b18..a8f6186 100644
--- a/wire-desktop/Makefile
+++ b/wire-desktop/Makefile
@@ -9,12 +9,19 @@ install:
../check-installed gnupg
../check-installed cryptsetup
../check-installed key2root
- mkdir -p -- ~/.config/bash/aliases.d
- 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
+ ../check-installed-shebang mount-wire
+ ../check-installed-shebang umount-wire
+ ../check-installed-shebang wire-desktop
+ mkdir -p -- ~/.local/bin/
+ test ! -e ~/.local/bin/mount-wire || test -L ~/.local/bin/mount-wire
+ ln -sf -- ~/.dotfiles/wire-desktop/mount-wire ~/.local/bin/
+ test ! -e ~/.local/bin/umount-wire || test -L ~/.local/bin/umount-wire
+ ln -sf -- ~/.dotfiles/wire-desktop/umount-wire ~/.local/bin/
+ test ! -e ~/.local/bin/wire-desktop || test -L ~/.local/bin/wire-desktop
+ ln -sf -- ~/.dotfiles/wire-desktop/wire-desktop ~/.local/bin/
uninstall:
+! ../check-installed wire-desktop
- -unlink -- ~/.config/bash/aliases.d/wire-desktop
- -rmdir -- ~/.config/bash/aliases.d
+ -unlink -- ~/.local/bin/mount-wire
+ -unlink -- ~/.local/bin/umount-wire
+ -unlink -- ~/.local/bin/wire-desktop