From 21c6ef703f4ba59509b822095467439979a0c1e8 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Fri, 15 Sep 2023 08:14:59 +0200 Subject: [PATCH] fix NodeJs install bug (#67) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### :book: Summary - fixed function name to propperly use volta for NodeJs installation #### :bookmark_tabs: Test Plan > :bulb: Select your test plan for the code changes. | Choice | Test Method | | :----: | :----------- | | ✅ | CI pipeline tests | | | Custom test | | | No test plan | ##### Details / Justification #### :books: Additional Notes - fixes #65 Co-authored-by: OCram85 Reviewed-on: https://gitea.ocram85.com/CodeServer/arkanum/pulls/67 --- arkanum | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/arkanum b/arkanum index 2a99fe7..72faf7e 100755 --- a/arkanum +++ b/arkanum @@ -139,23 +139,6 @@ function instGoLang() { } function instNodeJs() { - say "Adding nodesource package source (NodeJS LTS)..." "NodeJs" - curl -#fSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - - say "Updating package lists and installing NodeJS LTS..." "NodeJs" - sudo -E apt-get install --no-install-recommends -y \ - nodejs - - say "Cleaning up..." "NodeJs" - sudo -E apt-get clean - sudo rm -rf \ - /tmp/* \ - /var/lib/apt/lists/* \ - /var/tmp/* - - say "done." "NodeJs" -} - -function instNodeJS2() { say "Installing NodeJS LTS via Volta..." "NodeJS" volta install node@lts say "done." "NodeJS"