Skip to content

Commit 59936e6

Browse files
noncombatantChris Palmer
andauthored
scripts: don't refresh the pacman repository on Arch (tailscale#12194)
Fixes tailscale#12186 Signed-off-by: Chris Palmer <[email protected]> Co-authored-by: Chris Palmer <[email protected]>
1 parent 732af2f commit 59936e6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/installer.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ jobs:
6767
image: ${{ matrix.image }}
6868
options: --user root
6969
steps:
70+
- name: install dependencies (pacman)
71+
# Refresh the package databases to ensure that the tailscale package is
72+
# defined.
73+
run: pacman -Sy
74+
if: contains(matrix.image, 'archlinux')
7075
- name: install dependencies (yum)
7176
# tar and gzip are needed by the actions/checkout below.
7277
run: yum install -y --allowerasing tar gzip ${{ matrix.deps }}

scripts/installer.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,6 @@ main() {
513513
;;
514514
pacman)
515515
set -x
516-
$SUDO pacman -Sy
517516
$SUDO pacman -S tailscale --noconfirm
518517
$SUDO systemctl enable --now tailscaled
519518
set +x

0 commit comments

Comments
 (0)