Add installation check for colgrep in install script
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user