|
72 | 72 | echo "Installing ARM64 dependencies..." |
73 | 73 | brew install mariadb-connector-c libpq |
74 | 74 |
|
75 | | - # Link packages (needed when restored from cache) |
76 | | - brew link mariadb-connector-c || true |
77 | | - brew link libpq || true |
| 75 | + # Link packages with --force (needed for keg-only formulas) |
| 76 | + brew link --force mariadb-connector-c |
| 77 | + brew link --force libpq |
78 | 78 |
|
79 | 79 | # Verify installations |
80 | 80 | if ! brew list mariadb-connector-c >/dev/null 2>&1; then |
@@ -175,9 +175,9 @@ jobs: |
175 | 175 | echo "Installing x86_64 dependencies..." |
176 | 176 | arch -x86_64 /usr/local/bin/brew install mariadb-connector-c libpq |
177 | 177 |
|
178 | | - # Link packages (needed when restored from cache) |
179 | | - arch -x86_64 /usr/local/bin/brew link mariadb-connector-c || true |
180 | | - arch -x86_64 /usr/local/bin/brew link libpq || true |
| 178 | + # Link packages with --force (needed for keg-only formulas) |
| 179 | + arch -x86_64 /usr/local/bin/brew link --force mariadb-connector-c |
| 180 | + arch -x86_64 /usr/local/bin/brew link --force libpq |
181 | 181 |
|
182 | 182 | # Verify installations |
183 | 183 | if ! arch -x86_64 /usr/local/bin/brew list mariadb-connector-c >/dev/null 2>&1; then |
@@ -342,9 +342,9 @@ jobs: |
342 | 342 | echo "Installing ARM64 dependencies..." |
343 | 343 | brew install mariadb-connector-c libpq |
344 | 344 |
|
345 | | - # Link packages (needed when restored from cache) |
346 | | - brew link mariadb-connector-c || true |
347 | | - brew link libpq || true |
| 345 | + # Link packages with --force (needed for keg-only formulas) |
| 346 | + brew link --force mariadb-connector-c |
| 347 | + brew link --force libpq |
348 | 348 |
|
349 | 349 | # Verify installations |
350 | 350 | if ! brew list mariadb-connector-c >/dev/null 2>&1; then |
@@ -550,9 +550,9 @@ jobs: |
550 | 550 | echo "Installing x86_64 dependencies..." |
551 | 551 | arch -x86_64 /usr/local/bin/brew install mariadb-connector-c libpq |
552 | 552 |
|
553 | | - # Link packages (needed when restored from cache) |
554 | | - arch -x86_64 /usr/local/bin/brew link mariadb-connector-c || true |
555 | | - arch -x86_64 /usr/local/bin/brew link libpq || true |
| 553 | + # Link packages with --force (needed for keg-only formulas) |
| 554 | + arch -x86_64 /usr/local/bin/brew link --force mariadb-connector-c |
| 555 | + arch -x86_64 /usr/local/bin/brew link --force libpq |
556 | 556 |
|
557 | 557 | # Verify installations |
558 | 558 | if ! arch -x86_64 /usr/local/bin/brew list mariadb-connector-c >/dev/null 2>&1; then |
|
0 commit comments