Adding casper 1.66+debian-1.
[live-boot-grml.git] / scripts / casper-bottom / 15autologin
index 745e6ce..ff88721 100755 (executable)
@@ -27,8 +27,11 @@ else
 fi
 
 if chroot /root [ -f ${GDMCONF} ]; then
-       # true hack ! -- nohar
-    chroot /root cp /usr/share/gdm/defaults.conf /etc/gdm/gdm.conf
+    if [ "${BUILD_SYSTEM}" == "Debian" ]; then
+        # true hack ! -- nohar
+        chroot /root cp /usr/share/gdm/defaults.conf /etc/gdm/gdm.conf
+    fi
+
     # Configure GDM autologin
     chroot /root sed -i \
         -e "s/^AutomaticLoginEnable=.*\$/AutomaticLoginEnable=true/" \