Update photoprism-v5-install.sh

fix cpu only suffix
pull/1102/head
tteckster 2 years ago committed by GitHub
parent 58da6d2c18
commit 565e4349ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save

Powered by BW's shoe-string budget.