summaryrefslogtreecommitdiff
path: root/community/mednafen/mednafen.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/mednafen/mednafen.install')
-rw-r--r--community/mednafen/mednafen.install7
1 files changed, 4 insertions, 3 deletions
diff --git a/community/mednafen/mednafen.install b/community/mednafen/mednafen.install
index 8a0672362..3cf247851 100644
--- a/community/mednafen/mednafen.install
+++ b/community/mednafen/mednafen.install
@@ -1,5 +1,6 @@
post_upgrade() {
- echo 'Save states from 0.8.x and earlier are not compatible with 0.9.x,
- [...] The configuration file name has changed to "mednafen-09x.cfg"
- [...] http://mednafen.sourceforge.net/releases/'
+ if [ "$(vercmp 0.9 "$2")" -eq 1 ]; then
+ echo '==> Save states from 0.8.x and earlier are not compatible with 0.9.x
+ also the configuration file name has changed to "mednafen-09x.cfg"'
+ fi
}