Merge branch 'debian' into wheezy
[debian/openrocket] / update-openrocket
index 79c85e07fb159ead3d4692a486dbf4e1f370ca54..a18603a2aeb7e03da75ddb3eee868b8a6749d83c 100755 (executable)
@@ -122,7 +122,7 @@ wgetprogress=' -v --progress=dot:default '
 
 get_installed_version() {
 
-       installed=`unzip -p /usr/lib/openrocket/*.jar ReleaseNotes | head -1 | awk '{ print $2 }'`
+       installed=`unzip -p /usr/lib/openrocket/*.jar build.properties | grep build.version= | awk -F\= '{ print $2 }'`
 }
 
 get_download_url() {