mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 02:25:56 +00:00
refactor(script): Always refresh NodeSource GPG key
This commit is contained in:
@@ -73,6 +73,7 @@ setup_node() {
|
||||
if [ ! -d "$KEYRING_DIR" ]; then
|
||||
mkdir -p "$KEYRING_DIR" || { print_error "Failed to create $KEYRING_DIR"; exit 1; }
|
||||
fi
|
||||
print_info "Downloading/refreshing NodeSource GPG key..."
|
||||
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o "$KEYRING_FILE"
|
||||
if [ $? -ne 0 ]; then
|
||||
print_error "Failed to download or process NodeSource GPG key."
|
||||
|
||||
Reference in New Issue
Block a user