mirror of https://github.com/tteck/Proxmox.git
Update photoprism-install.sh
This commit is contained in:
parent
c5ea1d8e8f
commit
71165f81a2
|
@ -91,13 +91,13 @@ sudo mkdir -p /opt/photoprism/bin
|
||||||
sudo mkdir /var/lib/photoprism
|
sudo mkdir /var/lib/photoprism
|
||||||
sudo chown photoprism:photoprism /var/lib/photoprism &>/dev/null
|
sudo chown photoprism:photoprism /var/lib/photoprism &>/dev/null
|
||||||
|
|
||||||
echo -en "${GN} Downloading ${APP}... "
|
echo -en "${GN} Downloading PhotoPrism... "
|
||||||
git clone https://github.com/photoprism/photoprism.git &>/dev/null
|
git clone https://github.com/photoprism/photoprism.git &>/dev/null
|
||||||
cd photoprism
|
cd photoprism
|
||||||
git checkout release &>/dev/null
|
git checkout release &>/dev/null
|
||||||
echo -e "${CM}${CL} \r"
|
echo -e "${CM}${CL} \r"
|
||||||
|
|
||||||
echo -en "${GN} Installing ${APP}... "
|
echo -en "${GN} Installing PhotoPrism... "
|
||||||
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 cp -a assets/ /opt/photoprism/assets/ &>/dev/null
|
||||||
|
|
Loading…
Reference in New Issue