Files
motd/Makefile
Bruno21 93365a5492 22-03-2025
-Makefile
-.plist
2025-03-22 15:17:44 +01:00

14 lines
468 B
Makefile

.PHONY: install
install:
./update-motd.sh
mkdir -p ${HOME}/Library/LaunchAgents/
cp com.bruno21.update-motd.plist ${HOME}/Library/LaunchAgents/
launchctl load -w ${HOME}/Library/LaunchAgents/com.bruno21.update-motd.plist
launchctl list | grep .update-motd
uninstall:
sudo launchctl unload -w ${HOME}/Library/LaunchAgents/com.bruno21.update-motd.plist
rm ${HOME}/Library/LaunchAgents/com.bruno21.update-motd.plist
launchctl list | grep update-motd || exit 0