Adding casper 1.81+debian-4.
[live-boot-grml.git] / ubiquity-hooks / 20xconfig
1 #! /bin/sh
2 set -e
3
4 if [ -f /etc/X11/xorg.conf ]; then
5     cp -a /etc/X11/xorg.conf /target/etc/X11/xorg.conf
6     # requires x11-common (>= 7.0.0-0ubuntu1)
7     mkdir -p /target/var/lib/x11
8     chroot /target sh -c 'md5sum /etc/X11/xorg.conf > /var/lib/x11/xorg.conf.md5sum'
9 fi
10
11 exit 0