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}"
13 PLANETTMP="${PLANETDIR}/planet-tmp.${SUFFIX}"
15 pyosmium-up-to-date -v -o "$PLANETNEW" "$PLANETCURR"
18 while [ $retval -eq 1 ]; do
19 mv "$PLANETNEW" "$PLANETTMP"
20 pyosmium-up-to-date -v -o "$PLANETNEW" "$PLANETTMP"
25 if [ $retval -ne 0 ]; then
31 mv "$PLANETCURR" "$PLANETPREV"
32 mv "$PLANETNEW" "$PLANETCURR"