summarylogtreecommitdiffstats
path: root/way-displays.install
blob: b8385fd4b179e584adaa3cef6cd36750e715c186 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
all_off="$(tput sgr0)"
bold="${all_off}$(tput bold)"
red="${bold}$(tput setaf 1)"
green="${bold}$(tput setaf 2)" # PR
yellow="${bold}$(tput setaf 3)" # title
blue="${bold}$(tput setaf 4)" # section
magenta="${bold}$(tput setaf 5)" # issue

# Colored makepkg-like functions
note() {
    printf "${blue}==>${yellow} NOTE:${all_off} ${1}\n"
}

plain() {
    printf "${1}\n"
}

green() {
    printf "${green}${1}${all_off}\n"
}

yello() {
    printf "${yellow}${1}${all_off}\n"
}

blue() {
    printf "${blue}${1}${all_off}\n"
}

magen() {
    printf "${magenta}${1}${all_off}\n"
}

post_install() {
    yello "1.13.0"
    blue  "New Features:"
	plain "  ${magenta}#196${all_off} implement ${blue}DISABLED${all_off} conditions: ${blue}PLUGGED${all_off} and ${blue}UNPLUGGED${all_off} by @mrsobakin in ${green}#199${all_off}"
	plain "  cfg write prepends schema comment by @alex-courtis in ${green}#203${all_off}"
	blue  "Bug Fixes:"
	plain "  retry on changes cancellation, up to 5 times by @mrsobakin in ${green}#200${all_off}"
}

post_upgrade() {
    post_install
}