File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed
Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,8 @@ export DEBIAN_FRONTEND=noninteractive
77# #
88# # install yarn (https://yarnpkg.com/en/docs/install)
99# #
10- apt-get install -y --no-install-recommends gnupg
11- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | \
12- gpg --no-default-keyring --keyring /tmp/yarn.gpg --import
13- gpg --no-default-keyring --keyring /tmp/yarn.gpg \
14- --export --output /etc/apt/keyrings/yarn.gpg
15- rm /tmp/yarn.gpg
10+ curl -sSf https://dl.yarnpkg.com/debian/pubkey.gpg \
11+ -o /etc/apt/keyrings/yarn-archive-keyring.asc
1612
1713echo " deb [signed-by=/etc/apt/keyrings/yarn.gpg] http://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
1814if etckeeper unclean 1> /dev/null 2> /dev/null; then
Original file line number Diff line number Diff line change @@ -7,12 +7,8 @@ export DEBIAN_FRONTEND=noninteractive
77# #
88# # install yarn (https://yarnpkg.com/en/docs/install)
99# #
10- apt-get install -y --no-install-recommends gnupg
11- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | \
12- gpg --no-default-keyring --keyring /tmp/yarn.gpg --import
13- gpg --no-default-keyring --keyring /tmp/yarn.gpg \
14- --export --output /etc/apt/keyrings/yarn.gpg
15- rm /tmp/yarn.gpg
10+ curl -sSf https://dl.yarnpkg.com/debian/pubkey.gpg \
11+ -o /etc/apt/keyrings/yarn-archive-keyring.asc
1612
1713echo " deb [signed-by=/etc/apt/keyrings/yarn.gpg] http://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
1814if etckeeper unclean 1> /dev/null 2> /dev/null; then
You can’t perform that action at this time.
0 commit comments