Quellcode durchsuchen

reintegrated module loading (update.sh)

DerLinkman vor 3 Monaten
Ursprung
Commit
0371edcf5e
1 geänderte Dateien mit 7 neuen und 0 gelöschten Zeilen
  1. 7 0
      update.sh

+ 7 - 0
update.sh

@@ -10,8 +10,15 @@ if [[ ! -d "${MODULE_DIR}" || -z "$(ls -A "${MODULE_DIR}")" ]]; then
   echo -e "\e[33m_modules is missing or empty – fetching all Modules from origin/${BRANCH}…\e[0m"
   git fetch origin "${BRANCH}"
   git checkout "origin/${BRANCH}" -- _modules
+  echo -e "\e[33mDone. Please restart the script...\e[0m"
+  exit 2
 fi
 
+source _modules/scripts/core.sh
+source _modules/scripts/ipv6_controller.sh
+source _modules/scripts/new_options.sh
+source _modules/scripts/migrate_options.sh
+
 detect_major_update() {
   if [ ${BRANCH} == "master" ]; then
     # Array with major versions