mirror of
https://github.com/tw93/Mole.git
synced 2026-02-07 11:38:28 +00:00
Move the system maintenance in the cleaning to optimize
This commit is contained in:
@@ -19,7 +19,6 @@ source "$SCRIPT_DIR/../lib/clean/dev.sh"
|
||||
source "$SCRIPT_DIR/../lib/clean/app_caches.sh"
|
||||
source "$SCRIPT_DIR/../lib/clean/system.sh"
|
||||
source "$SCRIPT_DIR/../lib/clean/user.sh"
|
||||
source "$SCRIPT_DIR/../lib/clean/maintenance.sh"
|
||||
|
||||
# Configuration
|
||||
SYSTEM_CLEAN=false
|
||||
@@ -869,11 +868,6 @@ perform_cleanup() {
|
||||
clean_time_machine_failed_backups
|
||||
end_section
|
||||
|
||||
# ===== 16. System maintenance =====
|
||||
start_section "System maintenance"
|
||||
# Broken preferences and login items cleanup (delegated to clean_maintenance module)
|
||||
clean_maintenance
|
||||
end_section
|
||||
|
||||
# ===== Final summary =====
|
||||
echo ""
|
||||
|
||||
@@ -8,6 +8,7 @@ source "$SCRIPT_DIR/lib/core/common.sh"
|
||||
source "$SCRIPT_DIR/lib/core/sudo.sh"
|
||||
source "$SCRIPT_DIR/lib/manage/update.sh"
|
||||
source "$SCRIPT_DIR/lib/manage/autofix.sh"
|
||||
source "$SCRIPT_DIR/lib/optimize/maintenance.sh"
|
||||
source "$SCRIPT_DIR/lib/optimize/tasks.sh"
|
||||
|
||||
# Load check modules
|
||||
|
||||
Reference in New Issue
Block a user