From 0cfdb493f045e7c533328617427a7416783c28b5 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 29 Oct 2008 03:50:18 +0100 Subject: added bashrc configdir added git config --- bashrc/dist/init.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 bashrc/dist/init.sh (limited to 'bashrc/dist') diff --git a/bashrc/dist/init.sh b/bashrc/dist/init.sh new file mode 100644 index 0000000..4dd4ed1 --- /dev/null +++ b/bashrc/dist/init.sh @@ -0,0 +1,13 @@ +# get distribution specific data + +_DISTNAME="unknown" + +if [[ -f /etc/gentoo-release ]]; then + _DISTNAME="gentoo" +elif [[ -f /etc/debian_version ]] ; then + _DISTNAME="debian" +fi + +declare -r _DISTNAME + +_load dist common -- cgit v1.2.3