blob: 60a7a789f0e7aa9f169d4dee8569bdd42e43c698 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
.POSIX:
include ../common.mk
install:
test -f ~/.var/opt/element/ElementCrypt.img
test -f ~/.var/opt/element/ElementCrypt.key
mkdir -p -- ~/.var/opt/element/ElementCrypt.d
test -e ~/.config/Element || ln -sf -- ../.var/opt/element/ElementCrypt.d/Element ~/.config/Element
$(CHECK_INSTALLED) asroot
$(CHECK_INSTALLED) gnupg
$(CHECK_INSTALLED) cryptsetup
mkdir -p -- ~/.config/bash/aliases.d
test ! -d ~/.config/bash/aliases.d/element-desktop
ln -sf -- ~/.dotfiles/element-desktop/bash-aliases ~/.config/bash/aliases.d/element-desktop
uninstall:
-unlink -- ~/.config/bash/aliases.d/element-desktop
-rmdir -- ~/.config/bash/aliases.d
.PHONY: install uninstall
|