From 966cbbf86c944d26bd13b73e0663ac4111438376 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 11 Apr 2018 16:27:18 +0200 Subject: [PATCH] Adding generating of /etc/gitconfig --- bin/postinst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bin/postinst b/bin/postinst index 66b85fa..0e6b5ec 100644 --- a/bin/postinst +++ b/bin/postinst @@ -441,6 +441,13 @@ misc_packages() { log "Removing packages: ${misc_pkgs_remove}" yum remove -y ${misc_pkgs_remove} + echo + echo "Creating /etc/gitconfig ..." + cat <<-EOF >/etc/gitconfig + [color] + ui = true + EOF + } #----------------------------------------------------------- -- 2.39.5