
# Version 2.

file=share/coot/scheme/coot-gui.scm

if [ -e $file ] ; then
   if touch $file ; then 
      cp $file $file.tmp
      if [ -e $file.tmp ] ; then 
         sed -e 's/^(old-coot?)/;; &/' $file.tmp > $file
      else 
         echo you don\'t have permission to make the edit.
      fi
   else 
      echo  you don\'t have permission to make the edit.
   fi
else 
   echo $file not found. 
   echo You need to run this from the coot binary directory that contains bin/ lib/ share/ and so on.
fi

