File: default_desktop

package info (click to toggle)
tasksel 3.85
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,636 kB
  • sloc: perl: 703; sh: 219; makefile: 133
file content (16 lines) | stat: -rw-r--r-- 402 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Shell library to get the default desktop that tasksel will select 
# for an architecture.
#
# This may be used outside of tasksel (eg, by debian-cd) so should be a
# stable interface.

default_desktop_for_arch() {
	case "$1" in
		i386) echo gnome ;;
		amd64) echo gnome ;;
		# gnome only works on linux,
		# and only on arches with 3d hardware
		# or llvmpipe. See #765839.
		*) echo xfce ;;
	esac
}