1
0
Fork 0
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:
Limezy 2024-02-23 09:30:37 +07:00
parent b9aea8224e
commit 0047638eef

View file

@ -29,7 +29,12 @@ pushd "$install_dir/script"
popd popd
get__csv_sep(){ 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(){ set__csv_sep(){