#!/bin/sh
#
if [ "$1" = "" ]; then
  echo "usage: cd ~/.blackhome/config and then"
  echo "./install theme themeName imageName"
  echo "./install image themeName imageName"
  echo "./install xpm themeName xpmName"
elif [ $1 = "theme" ]; then
  ~/.blackhome/config/installTheme $1 $2 $3 ~ yy
  chmod u+x ~/.blackhome/control/*.sh
elif [ $1 = "image" ]; then
  ~/.blackhome/config/installImage $2 $3 ~
  chmod u+x ~/.blackhome/app-defaults/images/$2/*.sh
elif [ $1 = "xpm" ]; then
  ~/.blackhome/config/installImage $2 $3 ~
  chmod u+x ~/.blackhome/app-defaults/pixmaps/$2/*.sh
fi
