diff --git a/CHANGELOG.md b/CHANGELOG.md index c212a5d..c89eb1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ As documented in the README's [adopting](README.md#how-to-adoptcustomize-the-scr For those who follow this repo, here's the changelog for ease of adoption: +### 1.0-32 + +* *[fresh-install-of-osx]* Added date calculation in `fresh-install-of-osx.sh` to track total execution time. + ### 1.0-31 * *[approve-fingerprint-sudo.sh]* Handled case to execute `approve-fingerprint-sudo.sh` based on touchId hardware. diff --git a/scripts/fresh-install-of-osx.sh b/scripts/fresh-install-of-osx.sh index ac1490b..a174401 100755 --- a/scripts/fresh-install-of-osx.sh +++ b/scripts/fresh-install-of-osx.sh @@ -12,6 +12,9 @@ # 2. Brightness on battery # 3. Keyboard brightness +script_start_time=$(date +%s) +echo "==> Script started at: $(date)" + ############################################################# # Utility scripts and env vars used only within this script # ############################################################# @@ -490,3 +493,7 @@ fi echo "\n" success '** Finished auto installation process: MANUALLY QUIT AND RESTART iTerm2 and Terminal apps **' + +script_end_time=$(date +%s) +echo "==> Script completed at: $(date)" +echo "==> Total execution time: $((script_end_time - script_start_time)) seconds"