Skip to content

Commit bd2fd03

Browse files
committed
Update bar-assistant-install.sh
1 parent 438702c commit bd2fd03

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

install/bar-assistant-install.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ msg_info "configured PHP"
3434

3535
msg_info "Installing MeiliSearch"
3636
cd /opt
37-
# RELEASE_MEILISEARCH=$(curl -s https://api.github.com/repos/meilisearch/meilisearch/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
38-
RELEASE_MEILISEARCH=v1.13.3
37+
RELEASE_MEILISEARCH=$(curl -s https://api.github.com/repos/meilisearch/meilisearch/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
3938
curl -fsSL https://github.com/meilisearch/meilisearch/releases/latest/download/meilisearch.deb -o meilisearch.deb
4039
$STD dpkg -i meilisearch.deb
4140
curl -fsSL https://raw.githubusercontent.com/meilisearch/meilisearch/latest/config.toml -o /etc/meilisearch.toml
@@ -69,8 +68,7 @@ systemctl enable -q --now meilisearch
6968
msg_ok "Created Service MeiliSearch"
7069

7170
msg_info "Installing Bar Assistant"
72-
# RELEASE_BARASSISTANT=$(curl -s https://api.github.com/repos/karlomikus/bar-assistant/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
73-
RELEASE_BARASSISTANT=5.4.1
71+
RELEASE_BARASSISTANT=$(curl -s https://api.github.com/repos/karlomikus/bar-assistant/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
7472
cd /opt
7573
curl -fsSL "https://github.com/karlomikus/bar-assistant/archive/refs/tags/v${RELEASE_BARASSISTANT}.zip" -o barassistant.zip
7674
unzip -q barassistant.zip
@@ -102,8 +100,7 @@ echo "${RELEASE_BARASSISTANT}" >/opt/${APPLICATION}_version.txt
102100
msg_ok "Installed Bar Assistant"
103101

104102
msg_info "Installing Salt Rim"
105-
# RELEASE_SALTRIM=$(curl -s https://api.github.com/repos/karlomikus/vue-salt-rim/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
106-
RELEASE_SALTRIM=4.2.0
103+
RELEASE_SALTRIM=$(curl -s https://api.github.com/repos/karlomikus/vue-salt-rim/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
107104
cd /opt
108105
curl -fsSL "https://github.com/karlomikus/vue-salt-rim/archive/refs/tags/v${RELEASE_SALTRIM}.zip" -o saltrim.zip
109106
unzip -q saltrim.zip

0 commit comments

Comments
 (0)