dotfiles/scripts/macos-brew_restore.sh
2025-02-24 09:51:41 +00:00

14 lines
293 B
Bash
Executable File

#!/bin/bash
BACKUP_FILE="$HOME/.dotfiles/config/envs/macos/homebrew/Brewfile"
if [[ ! -f "$BACKUP_FILE" ]]; then
echo "Backup file not found: $BACKUP_FILE"
exit 1
fi
echo "Restoring Homebrew installations..."
brew bundle --file="$BACKUP_FILE"
echo "Homebrew restoration complete."