(simatec) reindex added
This commit is contained in:
17
update.sh
17
update.sh
@@ -246,6 +246,22 @@ else
|
||||
docker-compose up --force-recreate --build -d
|
||||
fi
|
||||
|
||||
|
||||
while true; do
|
||||
read -ep "Do you want to perform the Reindex?? (y/n): " yn
|
||||
case $yn in
|
||||
[Yy]* ) echo "${greenBold}********* Reindex started... Please wait... *********${normal}"; break;;
|
||||
[Nn]* ) echo -e "${redBold} Update without Reindex!${normal}"; finish_info;;
|
||||
* ) echo -e "${redBold} Please confirm with y or n.${normal}";;
|
||||
esac
|
||||
done
|
||||
|
||||
BLA::start_loading_animation "${BLA_metro[@]}"
|
||||
docker exec -u piler -w /var/tmp piler reindex -a
|
||||
BLA::stop_loading_animation
|
||||
finish_info
|
||||
|
||||
function finish_info {
|
||||
echo
|
||||
echo "${greenBold}${HLINE}"
|
||||
echo "${greenBold} Piler Update completed successfully"
|
||||
@@ -270,3 +286,4 @@ echo "${blue}Execute the following command: docker system prune"
|
||||
echo "${blue}${HLINE}${normal}"
|
||||
echo
|
||||
exit 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user