blob: ee40a34d624ca5ecc4d0dbc1c06003548ce69337 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
.POSIX:
install:
test -f ~/.var/wire/WireCrypt.img
test -f ~/.var/wire/WireCrypt.key
mkdir -p -- ~/.var/wire/WireCrypt.d
test -e ~/.config/Wire || ln -s -- ../.var/wire/WireCrypt.d/Wire ~/.config/Wire
pacman -Qq -- asroot </dev/null >/dev/null
pacman -Qq -- gnupg </dev/null >/dev/null
pacman -Qq -- cryptsetup </dev/null >/dev/null
mkdir -p -- ~/.config/bash/aliases.d
test ! -d ~/.config/bash/aliases.d/wire-desktop
ln -sf -- ~/.dotfiles/wire-desktop/bash-aliases ~/.config/bash/aliases.d/wire-desktop
uninstall:
-unlink -- ~/.config/bash/aliases.d/wire-desktop
-rmdir -- ~/.config/bash/aliases.d
.PHONY: install uninstall
|