summarylogtreecommitdiffstats
path: root/opsu.install
diff options
context:
space:
mode:
Diffstat (limited to 'opsu.install')
-rw-r--r--opsu.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/opsu.install b/opsu.install
new file mode 100644
index 000000000000..490e6177c129
--- /dev/null
+++ b/opsu.install
@@ -0,0 +1,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
+}