#!/bin/bash echo "compiling ferrisfind..." if cargo build --release; then echo "ferrisfind compiled successfully!" echo "copying binary to your path..." echo "this will require sudo privileges" if sudo cp ./target/release/ferrisfind /usr/bin; then echo "install complete!" else echo "error copying binary!" fi else echo "error compiling biary! make sure rust and cargo are installed and setup!" fi