From 10deb58fcbd8370059f498a6584ccbc6e3842d32 Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 26 Apr 2023 14:26:45 -0400 Subject: [PATCH] Update homepage-install.sh Switching from building a release to building from source --- install/homepage-install.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/install/homepage-install.sh b/install/homepage-install.sh index 3800244f..7cabc3c3 100644 --- a/install/homepage-install.sh +++ b/install/homepage-install.sh @@ -30,12 +30,8 @@ $STD npm install -g pnpm msg_ok "Installed Node.js" msg_info "Installing Homepage (Patience)" -RELEASE=$(curl -s https://api.github.com/repos/benphelps/homepage/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') -wget -q https://github.com/benphelps/homepage/archive/refs/tags/v${RELEASE}.tar.gz -$STD tar -xvf v${RELEASE}.tar.gz -mkdir -p /opt/homepage -cp -r homepage-${RELEASE}/* /opt/homepage -rm -rf v${RELEASE}.tar.gz homepage-${RELEASE} +cd /opt +$STD git clone https://github.com/benphelps/homepage.git cd /opt/homepage mkdir -p config cp /opt/homepage/src/skeleton/* /opt/homepage/config