blob: 9dd157d4a0ce7debb9b60d9e0422fd94f612c656 (
plain) (
tree)
|
|
.POSIX:
install:
test -f ~/.var/signal/SignalCrypt.img
test -f ~/.var/signal/SignalCrypt.key
mkdir -p -- ~/.var/signal/SignalCrypt.d
test -e ~/.config/Signal || ln -s -- ../.var/signal/SignalCrypt.d/Signal ~/.config/Signal
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/signal-desktop
ln -sf -- ~/.dotfiles/signal-desktop/bash-aliases ~/.config/bash/aliases.d/signal-desktop
uninstall:
-unlink -- ~/.config/bash/aliases.d/signal-desktop
-rmdir -- ~/.config/bash/aliases.d
.PHONY: install uninstall
|