blob: 6426e835c91493897a174815bcc9d53226cfbf19 (
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/element/ElementCrypt.img
test -f ~/.var/element/ElementCrypt.key
mkdir -p -- ~/.var/element/ElementCrypt.d
test -e ~/.config/Element || ln -s -- ../.var/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
|