Merge remote-tracking branch 'cdist/master'

This commit is contained in:
Steven Armstrong 2011-09-27 15:40:17 +02:00
commit 840254cdd3
7 changed files with 54 additions and 133 deletions

View file

@ -65,7 +65,7 @@ if [ -f /etc/SuSE-release ]; then
exit 0
fi
if uname -r | grep -s '.owl' >/dev/null 2>&1; then
if [ -f /etc/owl-release ]; then
echo owl
exit 0
fi

View file

@ -42,6 +42,9 @@ case "$($__explorer/os)" in
*bsd|solaris)
uname -r
;;
owl)
cat /etc/owl-release
;;
redhat|centos)
cat /etc/redhat-release
;;