Add installation check for colgrep in install script

This commit is contained in:
2026-02-18 00:49:32 +05:30
parent 344c7472e2
commit 20fdfbbff8

View File

@@ -5,3 +5,11 @@ mkdir -p ~/.factory
rsync -av .factory/ ~/.factory/
echo "Installed .factory to ~/.factory"
# Install colgrep if not already installed
if ! command -v colgrep &> /dev/null; then
echo "Installing colgrep..."
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/lightonai/next-plaid/releases/latest/download/colgrep-installer.sh | sh
else
echo "colgrep is already installed, skipping."
fi