[Vagrant] Work around nodesource certificate error

Closes #323
This commit is contained in:
Earlopain 2021-10-18 18:03:00 +02:00
parent c63c39e6f1
commit defa113b70
No known key found for this signature in database
GPG Key ID: 6CFB948E15246897

View File

@ -4,6 +4,8 @@ APP_DIR=/home/danbooru/danbooru
CHRUBY_PATH=/etc/profile.d/chruby.sh
apt-get update
# Fix for https://github.com/nodesource/distributions/issues/1266
apt-get install ca-certificates
package_installed() {
if dpkg-query -f '${binary:Package}\n' -W | grep "$1" &>/dev/null; then