#!/bin/bash # Functions function inst_out { echo "[inst] $1" } function inst_fatal { inst_out "FATAL : $1" } function inst_fail { inst_fatal 'installation has failed' } # Welcome inst_out 'Script begins' # Check argument if [ $# -lt 1 ] then inst_fatal 'No script provided' inst_out 'Usage : inst