From 0f1df0db903ba576fd17b08197d3066af7a61e5f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 18 Nov 2023 23:23:40 +0100 Subject: A lot of changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- mplayer/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'mplayer') diff --git a/mplayer/Makefile b/mplayer/Makefile index 372ea97..3f08050 100644 --- a/mplayer/Makefile +++ b/mplayer/Makefile @@ -1,18 +1,16 @@ .POSIX: -include ../common.mk install: - $(CHECK_INSTALLED) dash + ../check-installed-shebang mplayer mkdir -p -- ~/.config/profile.d - test ! -d ~/.config/profile.d/mplayer + test ! -e ~/.config/profile.d/mplayer || test -L ~/.config/profile.d/mplayer ln -sf -- ~/.dotfiles/mplayer/user-profile ~/.config/profile.d/mplayer mkdir -p -- ~/.local/bin ln -sf -- ~/.dotfiles/mplayer/mplayer ~/.local/bin/ uninstall: + +! ../check-installed mplayer -unlink -- ~/.config/profile.d/mplayer -rmdir -- ~/.config/profile.d -rm -rf -- ~/.config/mplayer -unlink -- ~/.local/bin/mplayer - -.PHONY: install uninstall -- cgit v1.2.3-70-g09d2