mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01:06 +07:00
Hotfix: update brew along with core tap
This commit is contained in:
parent
116fe4df69
commit
b203b24815
@ -135,7 +135,9 @@ patch_brew() {
|
|||||||
update_dependencies() {
|
update_dependencies() {
|
||||||
patch_brew
|
patch_brew
|
||||||
if ! [ -e /tmp/update_dependencies ]; then
|
if ! [ -e /tmp/update_dependencies ]; then
|
||||||
git_retry -C "$core_repo" fetch origin master && git -C "$core_repo" reset --hard origin/master
|
for repo in "$brew_repo" "$core_repo"; do
|
||||||
|
git_retry -C "$repo" fetch origin master && git -C "$repo" reset --hard origin/master
|
||||||
|
done
|
||||||
echo '' | sudo tee /tmp/update_dependencies >/dev/null 2>&1
|
echo '' | sudo tee /tmp/update_dependencies >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user