File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,11 +13,9 @@ source "${ALLSKY_SCRIPTS}/functions.sh" || exit "${ALLSKY_EXIT_ERROR_STOP}"
1313source " ${ALLSKY_SCRIPTS} /installUpgradeFunctions.sh" || exit " ${ALLSKY_EXIT_ERROR_STOP} "
1414
1515# ############ TODO: Changes to install.sh needed:
16- # * Accept "--doUpgrade" argument which means we're doing an upgrade.
17- # - Don't display "**** Welcome to the installer ****"
18- # - Don't prompt for camera
19- # - Don't prompt to reboot
20- # - Don't prompt other things ??
16+ # - Don't prompt for camera
17+ # - Don't prompt to reboot
18+ # - Don't prompt other things ??
2119#
2220
2321# shellcheck disable=SC2034
375373
376374 cd " ${ALLSKY_HOME} " || exit " ${ALLSKY_EXIT_ERROR_STOP} "
377375
376+ if [[ -d ${OLDEST_DIR} ]]; then
377+ MSG=" If you don't need the '${OLDEST_DIR} ' directory, you can remove it:"
378+ MSG+=" sudo rm -fr '${OLDEST_DIR} '\n"
379+ add_to_post_actions " ${MSG} "
380+ fi
381+
378382 # --doUpgrade tells it to use prior version without asking and to not display header,
379383 # change messages to say "upgrade", not "install", etc.
380384if false ; then # XXXXXXXXXX TODO: FIX
You can’t perform that action at this time.
0 commit comments