summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-03-02 14:38:10 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-03-02 14:38:10 +0100
commit16c8a8dbb02bebac35919a3c8f8c9e7bea6836c7 (patch)
treeb61ed7fcee6107b47c307b1586b44ecc192bcbda /etc
parente49a4f7675fb0639b91cd31400dd035f674f4cfa (diff)
zprofile: Detect Redhat and Arch as well
Diffstat (limited to 'etc')
-rw-r--r--etc/profile2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/profile b/etc/profile
index 3e38407..1c85bf5 100644
--- a/etc/profile
+++ b/etc/profile
@@ -9,6 +9,8 @@ echo
pr_info "This is ${info}$(uname -srm)${reset} on ${info}%y${reset}"
[[ -r /etc/gentoo-release ]] && pr_info "Running ${info}Gentoo${reset} ${$(cat /etc/gentoo-release)#(#i)gentoo }"
[[ -r /etc/debian_version ]] && pr_info "Running ${info}Debian${reset} $(cat /etc/debian_version)"
+[[ -r /etc/arch-release ]] && pr_info "Running ${info}Arch${reset}"
+[[ -r /etc/redhat-release ]] && pr_info "Running ${info}Redhat${reset}"
echo
[[ -n $(echo Maildir/new/*(N)) ]] && pr_info "You have mail!"