diff options
author | Rhinoceros | 2016-10-10 11:23:45 +1100 |
---|---|---|
committer | Rhinoceros | 2016-10-10 11:23:45 +1100 |
commit | c11a03499b0ba078fb5fd98e461f2476be6cba5e (patch) | |
tree | 9fdac78ed9b8b1f07a45fe96a2061d848ba99cad /python-imapnotify.install | |
parent | 7d2ad5fdc0fc9e82a5d2da7df29af9ffb1ef0320 (diff) | |
download | aur-c11a03499b0ba078fb5fd98e461f2476be6cba5e.tar.gz |
Update to 0.0.3-2
* Add systemd.service (N.B. it works, but doesn't seem to log correctly)
* Add install file with information for systemd setup
* Add contributor, whose service and install files I copied
Diffstat (limited to 'python-imapnotify.install')
-rw-r--r-- | python-imapnotify.install | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/python-imapnotify.install b/python-imapnotify.install new file mode 100644 index 000000000000..6ff427dabe6d --- /dev/null +++ b/python-imapnotify.install @@ -0,0 +1,21 @@ +# Some colored makepkg-like functions +msg_blue() { + printf "${BLUE}==>${ALL_OFF}${BOLD} ${1}${ALL_OFF}\n" +} + +note() { + printf "${BLUE}==>${ALL_OFF}${YELLOW} NOTE:${ALL_OFF}${BOLD} ${1}${ALL_OFF}\n" +} + +ALL_OFF="$(tput sgr0)" +BOLD="$(tput bold)" +BLUE="${BOLD}$(tput setaf 4)" +YELLOW="${BOLD}$(tput setaf 3)" + +post_install() { + note 'To use with systemd, place a config file at ~/.config/imapnotify/<config>.json and use systemctl --user enable imapnotify@<config>.json' +} + +post_upgrade() { + post_install +} |