mirror of
https://github.com/mtan93/Installomator.git
synced 2026-04-06 06:13:14 +01:00
changed fragments to .sh extension
This commit is contained in:
9
fragments/labels/sublimetext.sh
Normal file
9
fragments/labels/sublimetext.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
sublimetext)
|
||||
# credit: Mischa van der Bent (@mischavdbent)
|
||||
name="Sublime Text"
|
||||
type="dmg"
|
||||
downloadURL="https://download.sublimetext.com/latest/stable/osx"
|
||||
appNewVersion=$(curl -fs https://www.sublimetext.com/3 | grep 'class="latest"' | cut -d '>' -f 4 | sed -E 's/ (.*[0-9]*)<.*/\1/g')
|
||||
#appNewVersion=$(curl -Is https://download.sublimetext.com/latest/stable/osx | grep "Location:" | sed -n -e 's/^.*Sublime Text //p' | sed 's/.dmg//g' | sed $'s/[^[:print:] ]//g') # Alternative from @Oh4sh0
|
||||
expectedTeamID="Z6D26JE4Y4"
|
||||
;;
|
||||
Reference in New Issue
Block a user