From 9ea4442ba15ba671599e405600c3c112223c9093 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 1 Dec 2011 10:23:48 -0500 Subject: [PATCH] Add Fedora support to .bashrc.d/01detect_system (based on Fedora 8). --- src/.bashrc.d/01detect_system | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.26.2