diff --git a/fragments/labels/idrive.sh b/fragments/labels/idrive.sh index 6a16c03..31dca50 100644 --- a/fragments/labels/idrive.sh +++ b/fragments/labels/idrive.sh @@ -2,8 +2,8 @@ idrive) name="IDrive" type="pkgInDmg" pkgName="IDrive.pkg" - downloadURL=$(curl -fs https://static.idriveonlinebackup.com/downloads/version_mac.js | sed 's/.*href\([^;]*\).*/\1/' | sed 's/.*\(https.*dmg\).*/\1/g') - appNewVersion=$(curl -fs https://static.idriveonlinebackup.com/downloads/version_mac.js | sed 's/.*mac_vernum=\([^;]*\).*/\1/' | sed 's/.*Version \([0-9.]*\).*/\1/') + downloadURL=$(curl -fs https://static.idriveonlinebackup.com/downloads/version_mac.js | sed -E 's/.*(https.*dmg).*/\1/g') + appNewVersion=$(curl -fs https://static.idriveonlinebackup.com/downloads/version_mac.js | sed -E 's/.*mac_vernum\=\"Version\ ([0-9.]*).*/\1/g') versionKey="CFBundleVersion" expectedTeamID="JWDCNYZ922" ;;