Skip to content

Commit 0dcb448

Browse files
authored
Update anything-llm
1 parent e8e18a7 commit 0dcb448

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

programs/x86_64/anything-llm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ chmod a+x ../remove || exit 1
1313

1414
# DOWNLOAD AND PREPARE THE APP, $version is also used for updates
1515
version=$(curl -Ls https://api.github.com/repos/Mintplex-Labs/anything-llm/releases | sed 's/[()",{} ]/\n/g' | grep -i tag | head -1 | sed 's:.*/::')
16-
wget "$(curl -Ls https://raw.githubusercontent.com/Mintplex-Labs/anything-llm/desktop/linux_installer.sh | tr '"' '\n' | grep -i "^http.*appimage$" | head -1)" || exit 1
16+
wget "$(curl -Ls https://raw.githubusercontent.com/Mintplex-Labs/anything-llm/desktop/linux_installer.sh | tr '"' '\n' | grep -i "^http.*appimage$" | grep -vi arm | head -1)" || exit 1
1717
# Keep this space in sync with other installation scripts
1818
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
1919
cd ..
@@ -42,7 +42,7 @@ fi
4242
if [ "$version" != "$version0" ]; then
4343
mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
4444
notify-send "A new version of $APP is available, please wait"
45-
wget "$(curl -Ls https://raw.githubusercontent.com/Mintplex-Labs/anything-llm/desktop/linux_installer.sh | tr '"' '\n' | grep -i "^http.*appimage$" | head -1)" || exit 1
45+
wget "$(curl -Ls https://raw.githubusercontent.com/Mintplex-Labs/anything-llm/desktop/linux_installer.sh | tr '"' '\n' | grep -i "^http.*appimage$" | grep -vi arm | head -1)" || exit 1
4646
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
4747
cd ..
4848
mv --backup=t ./tmp/*mage ./"$APP"

0 commit comments

Comments
 (0)