[arch-commits] Commit in mednafen/trunk (mednafen.install)
Jonathan Steel
jsteel at nymeria.archlinux.org
Thu Mar 6 15:24:37 UTC 2014
Date: Thursday, March 6, 2014 @ 16:24:37
Author: jsteel
Revision: 106684
only print post_upgrade message for <0.9
Modified:
mednafen/trunk/mednafen.install
------------------+
mednafen.install | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Modified: mednafen.install
===================================================================
--- mednafen.install 2014-03-06 15:22:19 UTC (rev 106683)
+++ mednafen.install 2014-03-06 15:24:37 UTC (rev 106684)
@@ -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
}
More information about the arch-commits
mailing list