]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Adding generating of /etc/gitconfig
authorFrank Brehm <frank.brehm@pixelpark.com>
Wed, 11 Apr 2018 14:27:18 +0000 (16:27 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Wed, 11 Apr 2018 14:27:18 +0000 (16:27 +0200)
bin/postinst

index 66b85fa2b11ee22fa3a540b2881037083cfdf42c..0e6b5ec4a72c545ace807c0d9bc41303e47ce321 100644 (file)
@@ -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
+
 }
 
 #-----------------------------------------------------------