mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-30 22:04:17 +01:00
changed fragments to .sh extension
This commit is contained in:
9
fragments/labels/veracrypt.sh
Normal file
9
fragments/labels/veracrypt.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
veracrypt)
|
||||
name="VeraCrypt"
|
||||
type="pkgInDmg"
|
||||
#downloadURL=$(curl -s -L "https://www.veracrypt.fr/en/Downloads.html" | grep -Eio 'href="https://launchpad.net/veracrypt/trunk/(.*)/+download/VeraCrypt_([0-9].*).dmg"' | cut -c7- | sed -e 's/"$//' | sed "s/+/+/g")
|
||||
downloadURL=$(curl -fs "https://www.veracrypt.fr/en/Downloads.html" | grep "https.*\.dmg" | grep -vi "legacy" | tr '"' '
|
||||
' | grep "^https.*" | grep -vi ".sig" | sed "s/+/+/g")
|
||||
appNewVersion=$( echo "${downloadURL}" | sed -E 's/.*\/[a-zA-Z]*_([0-9.]*.*)\.dmg/\1/g' )
|
||||
expectedTeamID="Z933746L2S"
|
||||
;;
|
||||
Reference in New Issue
Block a user