From 2e268c2f49e7d40399973db07b692c2ef72392c7 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 30 May 2024 22:12:34 -0400 Subject: [PATCH] Update dashy-install.sh fix install --- install/dashy-install.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/install/dashy-install.sh b/install/dashy-install.sh index 4db71a27..d7c31367 100644 --- a/install/dashy-install.sh +++ b/install/dashy-install.sh @@ -31,18 +31,11 @@ $STD apt-get update $STD apt-get install -y nodejs msg_ok "Installed Node.js" -msg_info "Installing Yarn" -$STD npm install -g yarn -msg_ok "Installed Yarn" - RELEASE=$(curl -s https://api.github.com/repos/Lissy93/dashy/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') msg_info "Installing Dashy ${RELEASE} (Patience)" mkdir -p /opt/dashy wget -qO- https://github.com/Lissy93/dashy/archive/refs/tags/${RELEASE}.tar.gz | tar -xz -C /opt/dashy --strip-components=1 cd /opt/dashy -#sed -i 's/NODE_OPTIONS=--openssl-legacy-provider vue-cli-service build/NODE_OPTIONS=yarn vue-cli-service build/' /opt/dashy/package.json -#$STD yarn -#$STD yarn build $STD npm install $STD npm run build echo "${RELEASE}" >/opt/${APPLICATION}_version.txt