diff options
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 +} |