summarylogtreecommitdiffstats
path: root/polyversal-patcher-bin.install
blob: 47dee3a19b12bbb6331787ffaa0d017c6bfe2d24 (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
# Colored makepkg-like functions
msg_blue() {
    printf "%s==>%s %s%s\n" "${blue}" "${bold}" "$1" "${all_off}"
}

note() {
    printf "%s==>%s NOTE:%s %s%s\n" "${blue}" "${yellow}" "${bold}" "$1" "${all_off}"
}

all_off="$(tput sgr0)"
bold="${all_off}$(tput bold)"
blue="${bold}$(tput setaf 4)"
yellow="${bold}$(tput setaf 3)"

post_install() {
    msg_blue "Command \`polyversal\` installed"
    note "Make sure that either \`protontricks\` or \`flatpak\` is installed"
    note "Have a look at the repository to find out how to use Polyversal Patcher:"
    msg_blue "https://github.com/CommitteeOfZero/polyversal-coz-linux-patcher"
}

post_upgrade() {
    post_install
}