summaryrefslogtreecommitdiffstats
path: root/bashrc/dist
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2008-10-29 03:50:18 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2008-10-29 03:50:18 +0100
commit0cfdb493f045e7c533328617427a7416783c28b5 (patch)
treecc9a1a43343cef6550357eab1e25a1923dae627b /bashrc/dist
parent4e4fb8d5d790d2cc6eabab95aaea4b81225ca164 (diff)
downloaddotfiles-0cfdb493f045e7c533328617427a7416783c28b5.tar.gz
dotfiles-0cfdb493f045e7c533328617427a7416783c28b5.tar.xz
dotfiles-0cfdb493f045e7c533328617427a7416783c28b5.zip
added bashrc configdir
added git config
Diffstat (limited to 'bashrc/dist')
-rw-r--r--bashrc/dist/init.sh13
1 files changed, 13 insertions, 0 deletions
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