summarylogtreecommitdiffstats
path: root/soniccd.install
blob: 7888a1025c4fd1edebbc6931311a78fc8c0aa273 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
	echo "Use 'soniccd-launcher' to automatically run 'soniccd' from a " \
"'soniccd' folder in your \$XDG_DATA_HOME or '~/.local/share' folder."
	echo "Alternatively, you may simply run 'soniccd' directly from any " \
"folder containing compatible data files."
}

post_upgrade() {
	old_revision=$(egrep -o '[0-9]+' <<< $2 | head -n 1)

	# Not sure what was the exact commit that changed the binary name, but it
	# doesn't really matter.
	if [[ $old_revision < 377 ]]; then
		echo '"soniccd" has been renamed to "RSDKv3", "soniccd-launcher" '\
'remains unaffected'
	fi
}