From 84ef5e46a46ff2e726a8800f0a961728b610dcb1 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 18 Mar 2025 09:31:48 +0100 Subject: [PATCH] Update docspell-install.sh --- install/docspell-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/docspell-install.sh b/install/docspell-install.sh index 21bb3e9..6710ac6 100644 --- a/install/docspell-install.sh +++ b/install/docspell-install.sh @@ -63,6 +63,7 @@ $STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET timezone TO 'UTC';" msg_ok "Set up PostgreSQL Database" msg_info "Setup Docspell (Patience)" +mkdir -p /opt/docspell Docspell=$(wget -q https://github.com/eikek/docspell/releases/latest -O - | grep "title>Release" | cut -d " " -f 5) DocspellDSC=$(wget -q https://github.com/docspell/dsc/releases/latest -O - | grep "title>Release" | cut -d " " -f 4 | sed 's/^v//') cd /opt @@ -83,7 +84,6 @@ ln -s /etc/docspell-joex /opt/docspell/docspell-joex && ln -s /etc/docspell-rest msg_ok "Setup Docspell" msg_info "Setup Apache Solr" -mkdir -p /opt/docspell cd /opt/docspell SOLR_DOWNLOAD_URL="https://downloads.apache.org/lucene/solr/" latest_version=$(curl -s "$SOLR_DOWNLOAD_URL" | grep -oP '(?<=[0-9])' | head -n 1)