mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-02 11:03:56 +01: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
|
elif grep -q avx /proc/cpuinfo; then
|
||||||
suffix="avx-"
|
suffix="avx-"
|
||||||
else
|
else
|
||||||
suffix=""
|
suffix="1"
|
||||||
fi
|
fi
|
||||||
version=$(curl -s https://dl.photoprism.org/tensorflow/amd64/ | grep -o "libtensorflow-amd64-$suffix.*\\.tar.gz" | head -n 1)
|
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
|
wget -q https://dl.photoprism.org/tensorflow/amd64/$version
|
||||||
|
Loading…
Reference in New Issue
Block a user