Extracted username from .gitconfig to allow non-specific user install.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 12 Nov 2023 16:41:37 +0200
changeset 1024 ad0d69732368
parent 1023 15f1cfa23949
child 1025 03c2b7f76bb7
Extracted username from .gitconfig to allow non-specific user install.
Makefile
--- a/Makefile	Sun Nov 12 14:17:23 2023 +0200
+++ b/Makefile	Sun Nov 12 16:41:37 2023 +0200
@@ -67,7 +67,7 @@
     .sqshrc .psqlrc \
     .signature .muttrc .tidy \
     .dictrc \
-    .hgrc .hgignore .hgstyle .bazaar .gitconfig .gitignore .cvsrc .quiltrc .quiltrc-dpkg \
+    .hgrc .hgignore .hgstyle .bazaar .gitignore .cvsrc .quiltrc .quiltrc-dpkg \
     .gnupg \
     .ackrc .grc \
     .mplayer \
@@ -116,6 +116,7 @@
 			find $$item -type f -exec $(INSTALL_DATA) {} $(HOME)/{} ';'
 		fi
 	done
+	cat .gitconfig .gitconfig.extra >$(HOME)/.gitconfig
 	$(INSTALL_DATA) -t $(HOME) "$${files[@]}"
 	chmod 700 $(HOME)/.gnupg/
 	if command -v fvwm; then