@@ -34,8 +34,7 @@ msg_info "configured PHP"
34
34
35
35
msg_info " Installing MeiliSearch"
36
36
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) }' )
39
38
curl -fsSL https://github.com/meilisearch/meilisearch/releases/latest/download/meilisearch.deb -o meilisearch.deb
40
39
$STD dpkg -i meilisearch.deb
41
40
curl -fsSL https://raw.githubusercontent.com/meilisearch/meilisearch/latest/config.toml -o /etc/meilisearch.toml
@@ -69,8 +68,7 @@ systemctl enable -q --now meilisearch
69
68
msg_ok " Created Service MeiliSearch"
70
69
71
70
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) }' )
74
72
cd /opt
75
73
curl -fsSL " https://github.com/karlomikus/bar-assistant/archive/refs/tags/v${RELEASE_BARASSISTANT} .zip" -o barassistant.zip
76
74
unzip -q barassistant.zip
@@ -102,8 +100,7 @@ echo "${RELEASE_BARASSISTANT}" >/opt/${APPLICATION}_version.txt
102
100
msg_ok " Installed Bar Assistant"
103
101
104
102
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) }' )
107
104
cd /opt
108
105
curl -fsSL " https://github.com/karlomikus/vue-salt-rim/archive/refs/tags/v${RELEASE_SALTRIM} .zip" -o saltrim.zip
109
106
unzip -q saltrim.zip
0 commit comments