#!/bin/sh

#  Script to perform the default installation steps for the
#   specified user home directory.
#
#  1) Create ~/.giram-0.1 if it doesn't exist
#  2) Copy system giramrc file to ~/.giram-0.1
#  3) Create color, color_map, finish, normal, pigment, shape and texture directories
#

echo "mkdir $2"
mkdir $2

echo "cp $3/giramrc_user $2/giramrc"
cp $3/giramrc_user $2/giramrc

echo "cp $3/gtkrc_user $2/gtkrc"
cp $3/gtkrc_user $2/gtkrc

echo "mkdir $2/color"
mkdir $2/color
echo "mkdir $2/color_map"
mkdir $2/color_map
echo "mkdir $2/finish"
mkdir $2/finish
echo "mkdir $2/normal"
mkdir $2/normal
echo "mkdir $2/pigment"
mkdir $2/pigment
echo "mkdir $2/shape"
mkdir $2/shape
echo "mkdir $2/texture"
mkdir $2/texture

echo "mkdir $2/tmp"
mkdir $2/tmp

