Small change on install

This commit is contained in:
Michael RICOIS 2013-10-21 10:27:18 +00:00
parent d6eab21720
commit 3e354aaf00

View File

@ -26,7 +26,7 @@ $SPHINX_VERSION = array(
/**
* Nécessaire :
* ============
* GCC : gcc g++
* GCC : gcc g++ make
* MySQL : libmysqld-dev
*
* tree
@ -37,7 +37,7 @@ if ($argv[1]=='install')
{
//Version
if (!array_key_exists($argv[2], $SPHINX_VERSION)){
exit;
echo "Erreur.\n"; exit;
}
$version = $argv[2];
@ -70,7 +70,7 @@ if ($argv[1]=='config')
//Initscript
if ($argv[2]=='etc') {
$version = $argv[3];
exec("cp -Ri scripts/build/$version/etc/* /etc/");
exec("cp -vRi scripts/build/config/$version/etc/* /etc/");
exit;
}