blob: 60a7a789f0e7aa9f169d4dee8569bdd42e43c698 (
plain) (
tree)
|
|
.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
|