Adding upstream version 1.68+debian.
[live-boot-grml.git] / ubiquity-hooks / 20xconfig
index 6f8becd..92d7097 100755 (executable)
@@ -5,7 +5,7 @@ if [ -f /etc/X11/xorg.conf ]; then
     cp -a /etc/X11/xorg.conf /target/etc/X11/xorg.conf
     # requires x11-common (>= 7.0.0-0ubuntu1)
     mkdir -p /target/var/lib/x11
-    chroot /target md5sum /etc/X11/xorg.conf > /var/lib/x11/xorg.conf.md5sum
+    chroot /target sh -c 'md5sum /etc/X11/xorg.conf > /var/lib/x11/xorg.conf.md5sum'
 fi
 
 exit 0