Преглед на файлове

scripts/installer.sh: add rpm GPG key import (#11686)

Extend the `zypper` install to import importing the GPG key used to sign
the repository packages.

Updates #11635

Signed-off-by: Patrick O'Doherty <[email protected]>
Patrick O'Doherty преди 1 година
родител
ревизия
7f4cda23ac
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      scripts/installer.sh

+ 1 - 0
scripts/installer.sh

@@ -504,6 +504,7 @@ main() {
 		;;
 		zypper)
 			set -x
+			$SUDO rpm --import "https://pkgs.tailscale.com/$TRACK/$OS/$VERSION/repo.gpg"
 			$SUDO zypper --non-interactive ar -g -r "https://pkgs.tailscale.com/$TRACK/$OS/$VERSION/tailscale.repo"
 			$SUDO zypper --non-interactive --gpg-auto-import-keys refresh
 			$SUDO zypper --non-interactive install tailscale