Debian Codegraph @

src/usr/lib/debian-installer.d/S65theme

raw
1 theme="$(debconf-get debian-installer/theme)"
2
3 if [ "$theme" ]; then
4 case "$DEBIAN_FRONTEND" in
5 newt|text)
6 export FRONTEND_BACKGROUND="$theme"
7 ;;
8 gtk)
9 gtk-set-theme "$theme" || true
10 ;;
11 esac
12 case "$theme" in
13 dark)
14 debconf-set-selections /usr/share/rootskel/mate-preseed.cfg
15 ;;
16 esac
17 fi