mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Update config
This commit is contained in:
parent
b9aea8224e
commit
0047638eef
1 changed files with 6 additions and 1 deletions
|
@ -29,7 +29,12 @@ pushd "$install_dir/script"
|
|||
popd
|
||||
|
||||
get__csv_sep(){
|
||||
echo "Utiliser le séparateur" "$(grep -oPi 'define\("CSV_SEP",[\s"]*\K[^\")]+' "$install_dir/config.php")"
|
||||
separateur="$(grep -oPi 'define\("CSV_SEP",[\s"]*\K[^\")]+' "$install_dir/config.php")"
|
||||
if [ $separateur = " "]; then
|
||||
echo "Utiliser un espace"
|
||||
else
|
||||
echo "Utiliser le séparateur ""separateur"
|
||||
fi
|
||||
}
|
||||
|
||||
set__csv_sep(){
|
||||
|
|
Loading…
Reference in a new issue