diff options
author | Mattias Andrée <maandree@kth.se> | 2024-06-16 23:14:25 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-06-16 23:14:25 +0200 |
commit | e0ca6ce462fd471edf017a541a160895bb762362 (patch) | |
tree | 78ec02202ff902dffada0d598359e67e3f3dbc19 /mate-settings-daemon | |
parent | do not use -- with stty; although stty(1posix) says -- shall behave as normal, it does not in the GNU implementation, and stty(1posix) specifically... (diff) | |
parent | Merge branch 'master' of ssh://maandree.se/gitrepos/~maandree/dotfiles (diff) | |
download | dotfiles-e0ca6ce462fd471edf017a541a160895bb762362.tar.gz dotfiles-e0ca6ce462fd471edf017a541a160895bb762362.tar.bz2 dotfiles-e0ca6ce462fd471edf017a541a160895bb762362.tar.xz |
Merge branch 'master' of ssh://maandree.se/gitrepos/~maandree/dotfiles
Diffstat (limited to 'mate-settings-daemon')
-rw-r--r-- | mate-settings-daemon/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mate-settings-daemon/Makefile b/mate-settings-daemon/Makefile new file mode 100644 index 0000000..6a335d8 --- /dev/null +++ b/mate-settings-daemon/Makefile @@ -0,0 +1,17 @@ +.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 |