зеркало из https://github.com/mozilla/dinobuildr.git
Supporting the pkg primitive object type because apparently we neglected to write this in the first place.
This commit is contained in:
Родитель
2ddc081f1e
Коммит
0e4b1d8376
|
@ -313,6 +313,14 @@ for item in data['packages']:
|
|||
pkg_install(local_path)
|
||||
print "\r"
|
||||
|
||||
if item['type'] == "pkg":
|
||||
dl_url = raw_url + item['url']
|
||||
print "Downloading:", item['item']
|
||||
downloader(lfsfile_url, local_path)
|
||||
hash_file(local_path, item['hash'])
|
||||
pkg_install(local_path)
|
||||
print "\r"
|
||||
|
||||
if item['type'] == "shell":
|
||||
dl_url = raw_url + item['url']
|
||||
print "Downloading:", item['item']
|
||||
|
|
|
@ -27,3 +27,4 @@ echo "Setting LocalHostName and ComputerName to ${hostname}"
|
|||
|
||||
scutil --set LocalHostName "$hostname"
|
||||
scutil --set ComputerName "$hostname"
|
||||
scutil --set HostName "$hostname"
|
||||
|
|
Загрузка…
Ссылка в новой задаче