Rearrange install scripts.

This commit is a preparation for detection about
whether a dist-<DISTRO_ID>/ folder is outdated.
This commit is contained in:
clsty
2025-10-02 16:38:43 +08:00
parent 0ee141493f
commit 918997acfa
12 changed files with 37 additions and 27 deletions
+5 -5
View File
@@ -3,7 +3,7 @@ cd "$(dirname "$0")"
export base="$(pwd)"
source ./scriptdata/environment-variables.sh
source ./scriptdata/functions.sh
source ./scriptdata/installers.sh
source ./scriptdata/package-installers.sh
source ./scriptdata/options.sh
prevent_sudo_or_root
@@ -11,19 +11,19 @@ set -e
#####################################################################################
# 0. Before we start
source ./scriptdata/install-greeting.sh
source ./scriptdata/0.install-greeting.sh
#####################################################################################
if [[ "${SKIP_ALLDEPS}" != true ]]; then
printf "${STY_CYAN}[$0]: 1. Install dependencies\n${STY_RESET}"
source ./scriptdata/install-deps.sh
source ./scriptdata/1.install-deps-selector.sh
fi
#####################################################################################
if [[ "${SKIP_ALLSETUPS}" != true ]]; then
printf "${STY_CYAN}[$0]: 2. Setup for permissions/services etc\n${STY_RESET}"
source ./scriptdata/install-setups.sh
source ./scriptdata/2.install-setups-selector.sh
fi
#####################################################################################
if [[ "${SKIP_ALLFILES}" != true ]]; then
printf "${STY_CYAN}[$0]: 3. Copying config files\n${STY_RESET}"
source ./scriptdata/install-files.sh
source ./scriptdata/3.install-files.sh
fi