#!/bin/bash #CLOUD MCGIDPATCH INSTALL currentpath=$(pwd) if [ -e "$pathtoconfig1/main.default" ]; then sed 's#SuexecEnableLVE on# #g' "$pathtoconfig1/main.default" | sed 's##SuexecEnableLVE on\n#g'> main.default mv main.default $pathtoconfig1 echo "File $pathtoconfig1/main.default successfully modified. Add ..." else echo "ATENTION!!!! Cann't find main.default template" "NEWLINE" fi cd $currentpath