#!/bin/sh
#
cd $HOME/SIESTA
#
# Use rsync
#
rsync -av  ~tuto_admin/SIESTA .
#
# Update the main .bashrc if it has not been updated yet 
#
grep 'ag2\.bashrc' $HOME/.bashrc > /dev/null  \
                ||  cat $HOME/.add_bash >> $HOME/.bashrc

# Source the file
# This does not always work. Better to tell the user to log out and
# log back in again
#
. $HOME/.bashrc
#
echo "Please log out now and log back in for any new symbols to take effect"
