michealespinola / syno.plexupdate

A script to automagically update Plex Media Server on Synology NAS
GNU General Public License v3.0
273 stars 23 forks source link

Fix check whether update was successful #16

Closed SunMar closed 2 years ago

SunMar commented 3 years ago

In commit 2b4d78f the current and new versions were trimmed of their build number. This was updated for the current and new versions, but missed for the $NowVersion (the version post-installation). This unfortunately broke the success check because the non-trimmed $NowVersion was considered greater than the trimmed $RunVersion.