1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-11-28 09:33:13 +02:00

Update photoprism-v5-install.sh

fix cpu only suffix
This commit is contained in:
tteckster 2023-02-21 10:53:30 -05:00 committed by GitHub
parent 58da6d2c18
commit 565e4349ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,7 +133,7 @@ if grep -q avx2 /proc/cpuinfo; then
elif grep -q avx /proc/cpuinfo; then
suffix="avx-"
else
suffix=""
suffix="1"
fi
version=$(curl -s https://dl.photoprism.org/tensorflow/amd64/ | grep -o "libtensorflow-amd64-$suffix.*\\.tar.gz" | head -n 1)
wget -q https://dl.photoprism.org/tensorflow/amd64/$version