Lines Matching refs:name
49 -c, --codename print the distribution code name
50 -f, --ftp-name print the ftp name of the distribution
51 -n, --name print the distribution name
114 ftp-name) FTPNAME=1 ; shift ; break ;;
115 name) NAME=1; shift ; break ;;
168 name="`echo $filename | sed -e 's|/etc/||' -e 's|-*release$||' -e 's|[-_]version$||' -e 's|\.issue||' | tr '[A-Z]' '[a-z]' | tr -d '-'`"
173 if test -z "$name"; then
175 CYGWIN*) name="cygwin" ;;
176 OpenBSD|FreeBSD|NetBSD) name="`uname | tr '[A-Z]' '[a-z]'`" ;;
179 name="debian"
181 name="ubuntu"
183 name="openlinux"
186 SunOS) name="solaris" ;;
187 *) Fatal "Cannot determine ftp-name for this system: `uname`" 1 ;;
192 case $name in
205 echo "$name$version"
238 string=`sh "$0" --name`
262 name="`echo $contents | sed -e 's![0-9].*$!!' -e 's![\ ]*release[\ ]*!!' -e 's![\ ][\ ]*$!!g'`"
265 name="Debian GNU/Linux"
267 name="Ubuntu Linux"
269 name="Slackware Linux"
272 CYGWIN*) name="Cygwin" ;; # FIXME: not sure if we have to differentiate between NT and others
273 *) name="`uname`" ;;
275 echo "$name"