7 # Script for automating theme testing.
18 if [[ "$THEME" == "all" ]]; then
20 { while read THEME
; do
21 if [ -d "$THEME" ]; then
22 "$SCRIPT_DIR/$SCRIPT_NAME" \
23 "$THEME" "$COMMAND" "${ARGS[@]:2}"
31 --install|
install|inst
) theme_install
"${ARGS[@]:2}";;
32 *) echo "Error: Unknown command \"$COMMAND\"";
41 echo "Usage: $SCRIPT_NAME THEME COMMAND [ options ]"
42 echo " $SCRIPT_NAME all COMMAND [ options ]"
45 echo " --install | install | inst"
46 echo " Install themes to \"$INSTALL_DIR\"."
52 theme_print_title
"INSTALL"
53 "$THEME_DIR"/theme-conf-gen.sh
--generate "$THEME_DIR"/"$THEME" "$INSTALL_DIR"
59 print_title
`echo "$THEME" | tr a-z A-Z `" $1"