@@ -98,16 +98,17 @@ fi
9898#
9999# * Update the package index (unless LTS)
100100# * Create a new plan
101−if [ "${NOPLAN:-}x" = "x" ]
101+if [ "${NOPLAN:-}x" = "1x" ]
102102then
103− if [ $SHORTNAME = "lts" ]
104− then
105− docker run $ARGS_PREBUILD $IMAGE /bin/bash -c "curator constraints --target $TARGET && curator snapshot-incomplete --target $TARGET && curator snapshot"
106− else
107− docker run $ARGS_PREBUILD $IMAGE /bin/bash -c "curator update && curator constraints --target $TARGET && curator snapshot-incomplete --target $TARGET && curator snapshot"
108− fi
109−else
110103 docker run $ARGS_PREBUILD $IMAGE /bin/bash -c "curator snapshot-incomplete --target $TARGET && curator snapshot"
104+elif [ "${NOPLAN:-}x" = "2x" ]
105+then
106+ docker run $ARGS_PREBUILD $IMAGE /bin/bash -c "curator snapshot-incomplete --target $TARGET && curator snapshot"
107+elif [ $SHORTNAME = "lts" ]
108+then
109+ docker run $ARGS_PREBUILD $IMAGE /bin/bash -c "curator constraints --target $TARGET && curator snapshot-incomplete --target $TARGET && curator snapshot"
110+else
111+ docker run $ARGS_PREBUILD $IMAGE /bin/bash -c "curator update && curator constraints --target $TARGET && curator snapshot-incomplete --target $TARGET && curator snapshot"
111112fi
112113
113114