Files
droid_rules/install.sh

16 lines
487 B
Bash
Executable File

#!/bin/bash
# Install .factory to ~/.factory (merges, does not replace parent folders)
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