diff options
author | Oleksii Vilchanskyi | 2017-06-28 02:50:47 +0200 |
---|---|---|
committer | Oleksii Vilchanskyi | 2017-06-28 02:50:47 +0200 |
commit | 7cf725530788fa505a70b767a1f32c7e3112f42f (patch) | |
tree | 8b9955aeb97f704cd1eb42b9e6f829d9cf13c52b /ckb-next.install | |
download | aur-7cf725530788fa505a70b767a1f32c7e3112f42f.tar.gz |
First release
Diffstat (limited to 'ckb-next.install')
-rwxr-xr-x | ckb-next.install | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ckb-next.install b/ckb-next.install new file mode 100755 index 000000000000..c82a406d0563 --- /dev/null +++ b/ckb-next.install @@ -0,0 +1,28 @@ +# Colored makepkg-like functions +msg_blue() { + printf "${blue}==>${bold} $1${all_off}\n" +} + +note() { + printf "${blue}==>${yellow} NOTE:${bold} $1${all_off}\n" +} + +all_off="$(tput sgr0)" +bold="${all_off}$(tput bold)" +blue="${bold}$(tput setaf 4)" +yellow="${bold}$(tput setaf 3)" + +post_install() { + echo -e "==================================================" + note "To start the daemon automatically, you must execute:" + note "sudo systemctl start ckb-daemon" + note "sudo systemctl enable ckb-daemon" + echo -e '\n' + note "Further information:" + note "https://github.com/mattanger/ckb-next" + echo -e "==================================================" +} + +post_upgrade() { + post_install +} |