projects
/
webi-installers
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
817400e
)
refactor: macos ~/Downloads/webi
author
AJ ONeal
<aj@therootcompany.com>
Sun, 14 Nov 2021 09:57:27 +0000
(09:57 +0000)
committer
AJ ONeal
<aj@therootcompany.com>
Mon, 15 Nov 2021 11:28:53 +0000
(11:28 +0000)
macos/install.sh
patch
|
blob
|
history
diff --git
a/macos/install.sh
b/macos/install.sh
index d89e520283bda36ea15584c3290dd2afcf591d5a..0eb770cd3de9394374d240906831016aca4ac63f 100644
(file)
--- a/
macos/install.sh
+++ b/
macos/install.sh
@@
-1,30
+1,30
@@
#!/bin/bash
#!/bin/bash
-
set -e
set -u
webi_download
set -e
set -u
webi_download
-pushd ~/Downloads 2>&1 > /dev/null
+pushd ~/Downloads
/webi
2>&1 > /dev/null
if [ "Darwin" == "$(uname -s)" ]; then
if [ "Darwin" == "$(uname -s)" ]; then
- curl -fsSL 'https://gist.githubusercontent.com/
solderjs
/8c36d132250163011c83bad8284975ee/raw/5a291955813743c20c12ca2d35c7b1bb34f8aecc/create-bootable-installer-for-os-x-el-capitan.sh' -o create-bootable-installer-for-os-x-el-capitan.sh
+ curl -fsSL 'https://gist.githubusercontent.com/
coolaj86
/8c36d132250163011c83bad8284975ee/raw/5a291955813743c20c12ca2d35c7b1bb34f8aecc/create-bootable-installer-for-os-x-el-capitan.sh' -o create-bootable-installer-for-os-x-el-capitan.sh
bash create-bootable-installer-for-os-x-el-capitan.sh
else
bash create-bootable-installer-for-os-x-el-capitan.sh
else
- curl -fsSL 'https://gist.githubusercontent.com/
solderjs
/9834a45a6c21a41e8882698a00b55787/raw/c43061cd0c53ec675996f5cb66c7077e666aabd4/install-mac-tools.sh' -o install-mac-tools.sh
+ curl -fsSL 'https://gist.githubusercontent.com/
coolaj86
/9834a45a6c21a41e8882698a00b55787/raw/c43061cd0c53ec675996f5cb66c7077e666aabd4/install-mac-tools.sh' -o install-mac-tools.sh
# TODO add xar to webinstall.dev
sudo apt install libz-dev # needed for xar
bash install-mac-tools.sh
echo "WARN: may need a restart for hfsplus to be recognized by the kernel"
# TODO add xar to webinstall.dev
sudo apt install libz-dev # needed for xar
bash install-mac-tools.sh
echo "WARN: may need a restart for hfsplus to be recognized by the kernel"
- curl -fsSL 'https://gist.github.com/
solderjs
/04fd06560a8465a695337eb502f5b0e9/raw/0a06fb4dce91399d374d9a12958dabb48a9bd42a/empty.7400m.img.bz2' -o empty.7400m.img.bz2
+ curl -fsSL 'https://gist.github.com/
coolaj86
/04fd06560a8465a695337eb502f5b0e9/raw/0a06fb4dce91399d374d9a12958dabb48a9bd42a/empty.7400m.img.bz2' -o empty.7400m.img.bz2
- curl -fsSL 'https://gist.githubusercontent.com/
solderjs
/9834a45a6c21a41e8882698a00b55787/raw/c43061cd0c53ec675996f5cb66c7077e666aabd4/linux-create-bootable-macos-recovery-image.sh' -o linux-create-bootable-macos-recovery-image.sh
+ curl -fsSL 'https://gist.githubusercontent.com/
coolaj86
/9834a45a6c21a41e8882698a00b55787/raw/c43061cd0c53ec675996f5cb66c7077e666aabd4/linux-create-bootable-macos-recovery-image.sh' -o linux-create-bootable-macos-recovery-image.sh
bash linux-create-bootable-macos-recovery-image.sh
fi
bash linux-create-bootable-macos-recovery-image.sh
fi
+mv ~/Downloads/webi/el-capitan.iso ~/Downloads/
echo ""
echo ""
-echo "Created
$HOME
/Downloads/el-capitan.iso"
+echo "Created
~
/Downloads/el-capitan.iso"
echo ""
popd 2>&1 > /dev/null
echo ""
popd 2>&1 > /dev/null