summarylogtreecommitdiffstats
path: root/ckb-next-git.install
blob: c82a406d05632e94e0a0812ed10f27e93375bd7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
}