1 2 3 4 5 6 7 8 9 10 11
post_install() { echo "For config, run: mpnotd --writeini" if [[ $(pidof systemd) ]]; then echo "Systemd service installed, to enable type:" echo "sudo systemctl --user enable mpnotd.service" fi } post_upgrade() { post_install }