echo "installing ..."

if test -d $1 
then
   echo "good, the directory exists ... continuing"
else
   echo "directory specified does not exist, creating it ..."
   mkdir $1
fi

cp -a installation $1
cp -a skins $1
chmod a+w "$1"/skins
cp -a include $1
cp -a temp $1
cp -a exemple/one_exemple $1
cp -a administration $1
cp -a configuration $1
cp -a images $1
chmod a+w "$1"/images

echo "install completed"
