From 211c730f47f7015aee4ced10b999c5389db9a4a8 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 5 Nov 2022 08:27:36 -0400 Subject: [PATCH] Update photoprism-update.sh changes from @chx0003 --- misc/photoprism-update.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/photoprism-update.sh b/misc/photoprism-update.sh index f6e99980..143eb9a2 100644 --- a/misc/photoprism-update.sh +++ b/misc/photoprism-update.sh @@ -91,7 +91,8 @@ echo -e "${CM}${CL} \r" echo -en "${GN} Building PhotoPrism ${BR} branch... " sudo make all &>/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 -en "${GN} Cleaning... "