Lines Matching refs:release
30 # Determine the distribution name and release for a Linux system and print
44 release=`cat /etc/debian_version`
45 print_linux_info "Debian" $release
46 elif [ -r /etc/mandriva-release ]
49 release=`cat /etc/mandriva-release | sed -e 's/[A-Za-z ]* release //'`
50 print_linux_info "Mandriva" $release
51 elif [ -r /etc/fedora-release ]
54 release=`cat /etc/fedora-release | sed -e 's/[A-Za-z ]* release //'`
55 print_linux_info "Fedora" $release
56 elif [ -r /etc/SuSE-release ]
59 release=`cat /etc/SuSE-release | grep "VERSION" | sed -e 's/VERSION = //'`
60 if grep openSUSE /etc/SuSE-release
64 print_linux_info "openSUSE" $release
66 print_linux_info "SUSE" $release
68 elif [ -r /etc/gentoo-release ]
71 release=`cat /etc/gentoo-release | sed -e 's/[A-Za-z ]* release //'`
72 print_linux_info "Gentoo" $release
76 release=`cat /etc/slackware-version | sed -e 's/Slackware //'`
77 print_linux_info "Slackware" $release
78 elif [ -r /etc/arch-release ]
82 elif [ -r /etc/redhat-release ]
86 release=`cat /etc/redhat-release | sed -e 's/[A-Za-z ]* release //'`
87 print_linux_info "Redhat" $release