s/bullseye/bookworm

This commit is contained in:
Tagadda 2023-05-12 16:46:33 +00:00 committed by axolotle
parent 9dd29dff18
commit 8db7691fe2

2
debian/rules vendored
View file

@ -17,7 +17,7 @@ TMPDIR = $$(pwd)/debian/yunohost-admin
override_dh_auto_build:
/usr/bin/curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null
/usr/bin/curl -s https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | tee /etc/apt/trusted.gpg.d/yarn.gpg >/dev/null
echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x bullseye main' > /etc/apt/sources.list.d/nodesource.list
echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x bookworm main' > /etc/apt/sources.list.d/nodesource.list
echo "deb [signed-by=/etc/apt/trusted.gpg.d/yarn.gpg] https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
/usr/bin/apt update
/usr/bin/apt install nodejs yarn -y