Small change on install
This commit is contained in:
parent
d6eab21720
commit
3e354aaf00
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user