#!/bin/bash die() { echo "#####" echo $1 echo "#####" exit 1 } if [ $1 = "install" ]; then sed -e "s|/usr/share/tutos|${MY_INSTALLDIR}/|g" -i ${MY_INSTALLDIR}/apache.conf elif [ $1 = "clean" ]; then echo $1 fi