blob: 60a1b187857772d43c9fea0ad982246d5f793692 (
plain) (
tree)
|
|
.POSIX:
install:
test -f ~/.var/opt/wire/WireCrypt.img
test -f ~/.var/opt/wire/WireCrypt.key
mkdir -p -- ~/.var/opt/wire/WireCrypt.d
test -e ~/.config/Wire || ln -sf -- ../.var/opt/wire/WireCrypt.d/Wire ~/.config/Wire
../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/wire-desktop || \
test -L ~/.config/bash/aliases.d/wire-desktop
ln -sf -- ~/.dotfiles/wire-desktop/bash-aliases ~/.config/bash/aliases.d/wire-desktop
uninstall:
+! ../check-installed wire-desktop
-unlink -- ~/.config/bash/aliases.d/wire-desktop
-rmdir -- ~/.config/bash/aliases.d
|