From 1a250ca0b9e1816b4db2ae0db19335bf2e003ce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roni=20V=C3=A4yrynen?= Date: Thu, 13 Feb 2025 17:04:50 +0200 Subject: [PATCH] fix: do not use deprecated apt-key to save yarn repo key --- xo-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xo-install.sh b/xo-install.sh index cba1380..a8c3612 100755 --- a/xo-install.sh +++ b/xo-install.sh @@ -340,7 +340,7 @@ function InstallDependenciesDeb { # only install yarn repo if user allows it to be installed if [[ "$INSTALL_REPOS" == "true" ]]; then - runcmd "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -" + runcmd "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg -o /etc/apt/trusted.gpg.d/yarn.asc" runcmd "echo \"deb https://dl.yarnpkg.com/debian/ stable main\" | tee /etc/apt/sources.list.d/yarn.list" fi