mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 09:37:45 +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
1
Ports/git/.gitignore
vendored
1
Ports/git/.gitignore
vendored
|
@ -1 +0,0 @@
|
||||||
!default_gitconfig
|
|
|
@ -1,7 +0,0 @@
|
||||||
[core]
|
|
||||||
editor = TextEditor
|
|
||||||
pager = less
|
|
||||||
|
|
||||||
[user]
|
|
||||||
email = anon
|
|
||||||
name = anon
|
|
|
@ -14,7 +14,15 @@ build() {
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
run mkdir -p "${SERENITY_INSTALL_ROOT}/home/anon"
|
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
|
export NO_PERL=YesPlease
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue