blob: 552e82dd9e23efb3945da4392c1189dbc07d99ed (
plain) (
tree)
|
|
.POSIX:
install:
test -d contacts
mkdir -p -- ~/.config
if test ! -L ~/.config/contacts; then \
test ! -e ~/.config/contacts && \
ln -sf -- ~/.dotfiles/libcontacts/contacts ~/.config/contacts; \
else \
test "$$(readlink -- ~/.config/contacts)" = ~/.dotfiles/libcontacts/contacts; \
fi
uninstall:
+! ../check-installed libcontacts
+! ../check-installed libcontacts-glibc
+! ../check-installed libcontacts-musl
-unlink -- ~/.config/contacts
|