diff --git a/picodrive.sh b/picodrive.sh index 43c93d87..cded5021 100755 --- a/picodrive.sh +++ b/picodrive.sh @@ -1,7 +1,6 @@ #!/bin/sh # Check md5 of the PicoDrive binary in /usr/games -myhash=$(md5sum /usr/games/PicoDrive | cut -d' ' -f1) -if [ $myhash != "5b42024e8e3a20e5a8b58ccd203b7c90" ] || [ ! -f /usr/games/PicoDrive ]; then +if [ `md5sum /usr/games/PicoDrive | cut -d' ' -f1` != `md5sum PicoDrive | cut -d' ' -f1` ]; then rw cp -f PicoDrive /usr/games ro