add IIPMOOVIEWER install opt

This commit is contained in:
rnsrk 2021-11-19 15:02:43 +01:00
parent 3beb578000
commit b91d35a426

View file

@ -661,6 +661,7 @@ while true; do
wget https://github.com/jackmoore/colorbox/archive/refs/heads/master.zip -P web/libraries/
unzip web/libraries/master.zip -d web/libraries/ &> /dev/null
mv web/libraries/colorbox-master web/libraries/colorbox
rm web/libraries/master.zip
break;;
[Nn]* )
echo
@ -775,6 +776,32 @@ while true; do
esac
done
echo
echo -e "${YELLOW}Do you like to get the IIPMOOViewer?${NC}"
echo
while true; do
read -p "(y/n): " INSTALLIIPMOOVIEWER
case ${INSTALLIIPMOOVIEWER} in
[Yy]* )
mkdir -p web/libraries
## get IIPImageViewer
wget https://github.com/ruven/iipmooviewer/archive/refs/heads/master.zip -P web/libraries/
unzip web/libraries/master.zip -d web/libraries/ &> /dev/null
mv web/libraries/colorbox-master web/libraries/colorbox
rm web/libraries/master.zip
break;;
[Nn]* )
echo
echo -e "${GREEN}Okay, you can download it later from:"
echo -e "https://github.com/ruven/iipmooviewer/archive/refs/heads/master.zip"
break;;
* ) echo "Please answer y[es] or n[o].";;
esac
done
echo
echo -e "${YELLOW}Do you like to get a precompiled Mirador library optimized for WissKI?${NC}"
echo