summarylogtreecommitdiffstats
path: root/opsu-git.install
blob: 490e6177c1293da770cd8ecf5c730c38a93ab8a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
## arg 1:  the new package version
post_install() {
	if [[ ! "$1" < 0.15.0.r0.g0507374-1 ]]; then
		echo "For video playback add the line 'FFmpegPath = /usr/bin/ffmpeg' to your config file: '\$XDG_CONFIG_HOME/opsu/.opsu.cfg'"
	fi
}

## arg 1:  the new package version
## arg 2:  the old package version
post_upgrade() {
	if [[ ! "$1" < 0.15.0.r0.g0507374-1 ]] && [[ "$2" < 0.15.0.r0.g0507374-1 ]]; then
		echo "For video playback add the line 'FFmpegPath = /usr/bin/ffmpeg' to your config file: '\$XDG_CONFIG_HOME/opsu/.opsu.cfg'"
	fi
}