Update photoprism-update.sh

changes from @chx0003
This commit is contained in:
tteckster 2022-11-05 08:27:36 -04:00 committed by GitHub
parent 4559f66f97
commit 211c730f47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,8 @@ echo -e "${CM}${CL} \r"
echo -en "${GN} Building PhotoPrism ${BR} branch... " echo -en "${GN} Building PhotoPrism ${BR} branch... "
sudo make all &>/dev/null sudo make all &>/dev/null
sudo ./scripts/build.sh prod /opt/photoprism/bin/photoprism &>/dev/null sudo ./scripts/build.sh prod /opt/photoprism/bin/photoprism &>/dev/null
sudo cp -a assets/ /opt/photoprism/assets/ &>/dev/null sudo rm -rf /opt/photoprism/assets
sudo cp -r assets/ /opt/photoprism/ &>/dev/null
echo -e "${CM}${CL} \r" echo -e "${CM}${CL} \r"
echo -en "${GN} Cleaning... " echo -en "${GN} Cleaning... "