summarylogtreecommitdiffstats
path: root/spleeter-data.install
blob: a400fde5f5d952ae77c69d05eef063548464a6eb (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
# Some colored makepkg-like functions
msg_blue()
{
  printf "${BLUE}==>${ALL_OFF}${BOLD} ${1}${ALL_OFF}\n"
}

note_blue()
{
  printf "${BLUE}==>${ALL_OFF}${BOLD} NOTE${1}:${ALL_OFF} ${2}\n"
}

ALL_OFF="$(tput sgr0)"
BOLD="$(tput bold)"
BLUE="${BOLD}$(tput setaf 4)"
GREEN="${BOLD}$(tput setaf 2)"

post_install()
{
  echo
  msg_blue "To use the pretrained models, add the following environment variable:"
  msg_blue "   MODEL_PATH='/opt/spleeter-data'"
  echo
}

post_upgrade()
{
  post_install
}