From: W. Trevor King Date: Thu, 1 Dec 2011 15:23:48 +0000 (-0500) Subject: Add Fedora support to .bashrc.d/01detect_system (based on Fedora 8). X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9ea4442ba15ba671599e405600c3c112223c9093;p=dotfiles-public.git Add Fedora support to .bashrc.d/01detect_system (based on Fedora 8). --- diff --git a/src/.bashrc.d/01detect_system b/src/.bashrc.d/01detect_system index df8b7f3..6003503 100644 --- a/src/.bashrc.d/01detect_system +++ b/src/.bashrc.d/01detect_system @@ -13,6 +13,8 @@ if [ -z "${OS}" ]; then export OS='Debian' elif grep -i ubuntu /etc/issue > /dev/null 2>&1; then export OS='Ubuntu' + elif grep -i fedora /etc/issue > /dev/null 2>&1; then + export OS='Fedora' else echo "unknown system. Adjust .bashrc.d/01detect_system or set OS by hand" >&2 fi