mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:37:36 +00:00
Ports/git: Store default gitconfig as heredoc
This commit is contained in:
parent
9cbf65761d
commit
b3f9d2a24e
3 changed files with 9 additions and 9 deletions
|
@ -14,7 +14,15 @@ build() {
|
|||
|
||||
post_install() {
|
||||
run mkdir -p "${SERENITY_INSTALL_ROOT}/home/anon"
|
||||
run_nocd cp default_gitconfig "${SERENITY_INSTALL_ROOT}/home/anon/.gitconfig"
|
||||
cat << 'EOF' > "${SERENITY_INSTALL_ROOT}/home/anon/.gitconfig"
|
||||
[core]
|
||||
editor = TextEditor
|
||||
pager = less
|
||||
|
||||
[user]
|
||||
email = anon
|
||||
name = anon
|
||||
EOF
|
||||
}
|
||||
|
||||
export NO_PERL=YesPlease
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue