3 # DO NOT EDIT - This file is being maintained by Chef
9 PLANETDIR="/var/lib/planet"
10 PLANETPREV="${PLANETDIR}/planet-previous.${SUFFIX}"
11 PLANETCURR="${PLANETDIR}/planet.${SUFFIX}"
12 PLANETNEW="${PLANETDIR}/planet-new.${SUFFIX}"
16 pyosmium-up-to-date -vvv -o "$PLANETNEW" "$PLANETCURR"
19 while [ $retval -eq 1 ]; do
20 mv "$PLANETCURR" "$PLANETPREV"
22 mv "$PLANETNEW" "$PLANETCURR"
23 pyosmium-up-to-date -vvv -o "$PLANETNEW" "$PLANETCURR"
27 if [ $retval -ne 0 ]; then
33 mv "$PLANETCURR" "$PLANETPREV"
35 mv "$PLANETNEW" "$PLANETCURR"