summarylogtreecommitdiffstats
path: root/opsu.install
blob: 0c544230cdee968fe5c9d9062077e1d655c257c4 (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-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-1 ]] && [[ "$2" < 0.15.0-1 ]]; then
		echo "For video playback add the line 'FFmpegPath = /usr/bin/ffmpeg' to your config file: '\$XDG_CONFIG_HOME/opsu/.opsu.cfg'"
	fi
}