blob: ce08e1ddd8f21034bd2e4a34246e0a8944fcf838 (
plain) (
tree)
|
|
.POSIX:
install:
test -f ~/.var/opt/signal/SignalCrypt.img
test -f ~/.var/opt/signal/SignalCrypt.key
mkdir -p -- ~/.var/opt/signal/SignalCrypt.d
test -e ~/.config/Signal || ln -sf -- ../.var/opt/signal/SignalCrypt.d/Signal ~/.config/Signal
../check-any-installed asroot asroot-libpassphrase
../check-installed gnupg
../check-installed cryptsetup
../check-installed key2root
mkdir -p -- ~/.config/bash/aliases.d
test ! -e ~/.config/bash/aliases.d/signal-desktop || \
test -L ~/.config/bash/aliases.d/signal-desktop
ln -sf -- ~/.dotfiles/signal-desktop/bash-aliases ~/.config/bash/aliases.d/signal-desktop
uninstall:
+! ../check-installed signal-desktop
-unlink -- ~/.config/bash/aliases.d/signal-desktop
-rmdir -- ~/.config/bash/aliases.d
|