blob: 90f12d925342a0fa2bd253b5cbbcfa0ff88edaa9 (
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 -sf -- ../.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
|