This commit is contained in:
bvdberg01 2025-03-31 11:52:33 +02:00
parent 23c037bfd0
commit 92604c2c4d
2 changed files with 3 additions and 2 deletions

View File

@ -104,7 +104,7 @@ function update_script() {
systemctl stop meilisearch
msg_ok "Stopped Service"
msg_info "Updating Meilisearch to v${RELEASE_MEILISEARCH}"
msg_info "Updating Meilisearch to ${RELEASE_MEILISEARCH}"
cd /opt
RELEASE=$(curl -s https://api.github.com/repos/meilisearch/meilisearch/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
curl -fsSL https://github.com/meilisearch/meilisearch/releases/latest/download/meilisearch.deb -o meilisearch.deb
@ -121,7 +121,7 @@ function update_script() {
msg_ok "Cleaned"
msg_ok "Updated Meilisearch"
else
msg_ok "No update required. Meilisearch is already at v${RELEASE_MEILISEARCH}"
msg_ok "No update required. Meilisearch is already at ${RELEASE_MEILISEARCH}"
fi
exit
}

View File

@ -86,6 +86,7 @@ $STD php artisan scout:sync-index-settings
$STD php artisan config:cache
$STD php artisan route:cache
$STD php artisan event:cache
chown -R www-data:www-data /opt/bar-assistant
echo "${RELEASE_BARASSISTANT}" >/opt/${APPLICATION}_version.txt
msg_ok "Installed Bar Assistant"