#!/bin/bash ./configure if [ $? == 0 ] then echo "Installing..." sudo make install fi