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