sdsphinx/bash/0.1/parametres.sh
Damien LASSERRE 2144578483
2011-09-07 08:31:11 +00:00

32 lines
579 B
Bash

#!/bin/bash
declare -A ERREURS
declare -A ASTUCES
#Color declaration
ROUGE="\\033[1;31m"
NORMAL="\\033[0;39m"
CYAN="\\033[1;36m"
VERT="\\033[1;32m"
BOLD="\\033[1m"
UNDERLINE="\\033[4m"
TEXTNONE="\\033[0m"
#Var
dir="Exist"
log="Exist"
dbs="Exist"
sphinx="Exist"
sphinxlog="Exist"
#Tab of erreurs and astuces
ERREURS=(
["CHMOD"]="Execute the script with SUDO or in ROOT"
["DIRECTORY"]="Directory not create"
["FILE"]=
["CMD"]="This command not exist"
["NOCMD"]="Please enter options")
ASTUCES=(
["CREATE"]="Sphinx --create (prepare l'environement)")