]> hackdaworld.org Git - hdw-linux/hdw-linux.git/commitdiff
xorg.conf
authorhackbard <hackbard>
Wed, 28 Jul 2004 09:11:43 +0000 (09:11 +0000)
committerhackbard <hackbard>
Wed, 28 Jul 2004 09:11:43 +0000 (09:11 +0000)
scripts/adapt_local

index eda31fc7b83126cdc9d7f44e0e37b4dbd65ddadc..947b64efc1b4016515591483c73a4583b1ab93c8 100755 (executable)
@@ -33,7 +33,10 @@ if [ "$config" = "full" ] ; then
        # kernel config
        run_it cp $root/usr/src/linux/.config $target/usr/src/linux/.config
        # x11
+       [ -f $root/etc/X11/XF86Config* ] && \
        run_it cp $root/etc/X11/XF86Config* $target/etc/X11/
+       [ -f $root/etc/X11/xorg.conf* ] && \
+       run_it cp $root/etc/X11/xorg.conf* $target/etc/X11/
        # hdw config
        for i in profile fstab hosts host.conf HOSTNAME resolv.conf conf/ ; do
                run_it rm -rf $target/etc/$i