mirror of
https://github.com/tw93/Mole.git
synced 2026-02-09 13:44:17 +00:00
feat: Skip TimeMachine cleaning if running
This commit is contained in:
@@ -125,6 +125,8 @@ tmutil() {
|
||||
}
|
||||
start_section_spinner(){ :; }
|
||||
stop_section_spinner(){ :; }
|
||||
tm_is_running(){ return 1; }
|
||||
tm_snapshots_mounted(){ return 1; }
|
||||
|
||||
DRY_RUN="false"
|
||||
clean_local_snapshots
|
||||
@@ -154,6 +156,8 @@ tmutil() {
|
||||
start_section_spinner(){ :; }
|
||||
stop_section_spinner(){ :; }
|
||||
note_activity(){ :; }
|
||||
tm_is_running(){ return 1; }
|
||||
tm_snapshots_mounted(){ return 1; }
|
||||
|
||||
DRY_RUN="true"
|
||||
clean_local_snapshots
|
||||
@@ -188,6 +192,8 @@ tmutil() {
|
||||
start_section_spinner(){ :; }
|
||||
stop_section_spinner(){ :; }
|
||||
note_activity(){ :; }
|
||||
tm_is_running(){ return 1; }
|
||||
tm_snapshots_mounted(){ return 1; }
|
||||
|
||||
unset -f read_key
|
||||
|
||||
|
||||
Reference in New Issue
Block a user