mirror of
https://github.com/YunoHost-Apps/pepettes_ynh.git
synced 2024-09-03 19:56:35 +02:00
fix prices configuration
This commit is contained in:
parent
500ba21fac
commit
48c118b505
2 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ ynh_script_progression --message="Adding a configuration file..." --weight=1
|
|||
ynh_add_config --template="../conf/gunicorn.py" --destination="$install_dir/gunicorn.py"
|
||||
ynh_add_config --template="../conf/settings.py" --destination="$install_dir/settings.py"
|
||||
|
||||
for price in $(echo $prices | sed "s/,/ /"); do
|
||||
for price in $(echo $prices | sed "s/,/ /g"); do
|
||||
frequency=$(echo $price | cut -d/ -f1)
|
||||
currency=$(echo $price | cut -d/ -f2)
|
||||
price_id=$(echo $price | cut -d/ -f3)
|
||||
|
|
|
@ -71,7 +71,7 @@ ynh_script_progression --message="Updating a configuration file..." --weight=1
|
|||
ynh_add_config --template="../conf/gunicorn.py" --destination="$install_dir/gunicorn.py"
|
||||
ynh_add_config --template="../conf/settings.py" --destination="$install_dir/settings.py"
|
||||
|
||||
for price in $(echo $prices | sed "s/,/ /"); do
|
||||
for price in $(echo $prices | sed "s/,/ /g"); do
|
||||
frequency=$(echo $price | cut -d/ -f1)
|
||||
currency=$(echo $price | cut -d/ -f2)
|
||||
price_id=$(echo $price | cut -d/ -f3)
|
||||
|
|
Loading…
Add table
Reference in a new issue