Debian Codegraph @

default_desktop

raw
1 # Shell library to get the default desktop that tasksel will select
2 # for an architecture.
3 #
4 # This may be used outside of tasksel (eg, by debian-cd) so should be a
5 # stable interface.
6
7 default_desktop_for_arch() {
8 case "$1" in
9 i386) echo gnome ;;
10 amd64) echo gnome ;;
11 # gnome only works on linux,
12 # and only on arches with 3d hardware
13 # or llvmpipe. See #765839.
14 *) echo xfce ;;
15 esac
16 }