mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +01:00
[bug] unable to set date formats during installation
This commit is contained in:
parent
4e512dda45
commit
e7059cca5b
@ -2,6 +2,7 @@
|
||||
|
||||
## Next release
|
||||
- Updated React and its dependencies to 17.0.3 and matching
|
||||
- Fix a bug: unable to set date formats during installation
|
||||
- [TODO DEPLOY] `rails fablab:stripe:set_gateway`
|
||||
- [TODO DEPLOY] `rails fablab:maintenance:rebuild_stylesheet`
|
||||
|
||||
|
@ -309,8 +309,9 @@ configure_env_file()
|
||||
read -rp " > " value </dev/tty
|
||||
echo "======================="
|
||||
if [ "$value" != "" ]; then
|
||||
escaped=$(printf '%s\n' "$value" | sed -e 's/[\/&]/\\&/g')
|
||||
sed -i.bak "s/$current/$variable=$escaped/g" "$FABMANAGER_PATH/config/env"
|
||||
esc_val=$(printf '%s\n' "$value" | sed -e 's/\//\\\//g')
|
||||
esc_curr=$(printf '%s\n' "$current" | sed -e 's/\//\\\//g')
|
||||
sed -i.bak "s/$esc_curr/$variable=$esc_val/g" "$FABMANAGER_PATH/config/env"
|
||||
fi
|
||||
done
|
||||
# we automatically generate the SECRET_KEY_BASE
|
||||
|
Loading…
x
Reference in New Issue
Block a user