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:
parent
58da6d2c18
commit
565e4349ff
@ -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…
Reference in New Issue
Block a user