blob: 6a335d897310b703dce278971459aa4bb9d1d5a9 (
plain) (
tree)
|
|
.POSIX:
install:
test ! -e ~/.local/bin/mate-settings-daemon || test -L ~/.local/bin/mate-settings-daemon
if test -f /usr/libexec/mate-settings-daemon; then \
ln -sf /usr/libexec/mate-settings-daemon ~/.local/bin/mate-settings-daemon; \
elif test -f /usr/lib/mate-settings-daemon/mate-settings-daemon; then \
ln -sf /usr/lib/mate-settings-daemon/mate-settings-daemon ~/.local/bin/mate-settings-daemon; \
elif test -f /usr/lib/mate-settings-daemon; then \
ln -sf /usr/lib/mate-settings-daemon ~/.local/bin/mate-settings-daemon; \
else \
rm -f -- ~/.local/bin/mate-settings-daemon 2>/dev/null; \
fi
uninstall:
+! ../check-installed mate-settings-daemon
-unlink -- ~/.local/bin/mate-settings-daemon
|