2020-04-10 14:20:16 +05:00
|
|
|
#!/bin/bash
|
|
|
|
|
################################################################################
|
|
|
|
|
## File: homebrew-validate.sh
|
|
|
|
|
## Desc: Validate the Homebrew can run after reboot without extra configuring
|
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
|
|
# Validate the installation
|
|
|
|
|
echo "Validate the Homebrew can run after reboot"
|
|
|
|
|
|
|
|
|
|
if ! command -v brew; then
|
2020-07-07 08:05:14 +03:00
|
|
|
echo "brew executable not found after reboot"
|
2020-04-10 14:20:16 +05:00
|
|
|
exit 1
|
|
|
|
|
fi
|
|
|
|
|
|