-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add localization configuration to Postgres installation #80
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
3093d18
Add language setting for windows
Eprince-hub f36693b
Add LC_ALL environment variable setting for Linux
Eprince-hub 60ddd09
Add config setting command
Eprince-hub fab7052
Merge branch 'main' into postgres-language
Eprince-hub 85d7481
Merge branch 'main' of https://github.com/upleveled/system-setup into…
Eprince-hub cf015a8
Merge branch 'postgres-language' of https://github.com/upleveled/syst…
Eprince-hub 8388d89
Merge branch 'main' of https://github.com/upleveled/system-setup into…
Eprince-hub adc9d1f
Remove unwanted script
Eprince-hub 5e6de5f
Add Linux config file update script
Eprince-hub 5737eaa
Remove unwanted script
Eprince-hub 0d0b8ab
Add config file update script for windows
Eprince-hub 5e3e3d6
Add config file update for macOS
Eprince-hub 86d6d73
Update comand and remove unwated flags
Eprince-hub 1a4674c
Combine windows commands
Eprince-hub 5d7f3ad
Fix typo
Eprince-hub 38accc6
Separate commands and move before profile sourcing
Eprince-hub d49c0dc
Remove unwanted command
Eprince-hub 07ae099
Update commands
Eprince-hub e462460
Update perl commands for variable settings
Eprince-hub 8c90f7b
Remove LC_ALL setting
Eprince-hub File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -191,7 +191,8 @@ Make sure that you're running the 2nd-newest macOS version or the newest version | |
|
||
```bash | ||
[[ -d /opt/homebrew/var/postgresql@16 ]] && PGDATA_TMP=/opt/homebrew/var/postgresql@16 || PGDATA_TMP=/usr/local/var/postgresql@16 | ||
echo "\nexport PGDATA=$PGDATA_TMP\nexport LC_ALL=en_US.UTF-8\nexport PSQL_PAGER=\"less --chop-long-lines --header 1\"" >> ~/`[[ $SHELL == *"zsh" ]] && echo '.zshrc' || echo '.bash_profile'` | ||
echo "\nexport PGDATA=$PGDATA_TMP\nexport PSQL_PAGER=\"less --chop-long-lines --header 1\"" >> ~/`[[ $SHELL == *"zsh" ]] && echo '.zshrc' || echo '.bash_profile'` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We are not setting the |
||
perl -i -pe 's/^[#\s]*(lc_messages|lc_time)\s*=.+$/\1 = '\''en_US.UTF-8'\''/' "$PGDATA/postgresql.conf" | ||
source ~/`[[ $SHELL == *"zsh" ]] && echo '.zshrc' || echo '.bash_profile'` | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prettier formatting