20 lines
643 B
Text
20 lines
643 B
Text
|
post_upgrade() {
|
||
|
# return if old package version is greater than or equal to 0.0.54-2...
|
||
|
(( $(vercmp $2 '0.0.54-2') >= 0 )) && return
|
||
|
|
||
|
cat <<EOF
|
||
|
==> In order to patch Krisp noise suppression support set 'PATCH_KRISP=true'
|
||
|
in '~/.config/discord.conf' in addition to having 'rizin' installed.
|
||
|
EOF
|
||
|
}
|
||
|
|
||
|
post_install() {
|
||
|
cat <<EOF
|
||
|
==> For Krisp noise suppression support consider installing 'rizin' and
|
||
|
setting 'PATCH_KRISP=true' in '~/.config/discord.conf'. Restart your
|
||
|
Discord client afterwards to apply the patch.
|
||
|
==> In case of performance problems consider setting additional flags
|
||
|
in '~/.config/discord-flags.conf'.
|
||
|
EOF
|
||
|
}
|