diff options
author | Bradford Smith | 2020-02-02 15:57:29 -0500 |
---|---|---|
committer | Bradford Smith | 2020-02-02 16:05:03 -0500 |
commit | eb21efd0e2e89cecda9c87f8dcf6df2fce3405ff (patch) | |
tree | da96a56dbd2544cb9fdb024b9c6d638965bcb25e /informant.install | |
parent | 54135b0194dbf97d430737040a7af3f297ff24c5 (diff) | |
download | aur-eb21efd0e2e89cecda9c87f8dcf6df2fce3405ff.tar.gz |
Update version
Add note about data file format change.
Diffstat (limited to 'informant.install')
-rw-r--r-- | informant.install | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/informant.install b/informant.install index 33493a403a03..17ce7bc062b7 100644 --- a/informant.install +++ b/informant.install @@ -1,11 +1,15 @@ +CLEAR="$(tput sgr0)" +YELLOW="${bold}$(tput setaf 3)" + post_install() { - groupadd informant + groupadd informant 2>/dev/null touch /var/cache/informant.dat chgrp informant /var/cache/informant.dat chmod 664 /var/cache/informant.dat - printf 'NOTE: Add yourself to group "informant" to avoid the need for sudo' + printf "%sNOTE%s: Add yourself to group \"informant\" to avoid the need for sudo\n" "$YELLOW" "$CLEAR" } post_upgrade() { post_install + printf "%sWARNING%s: This update changes the format of the /var/cache/informant.dat file, you will need to re-read all news items.\n" "$YELLOW" "$CLEAR" } |