diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:35 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:35 +0200 |
commit | 877d8dd14c0f97bf64db6ab21d23da98dd64fdd5 (patch) | |
tree | 29568f319d862b3e47be3179f11170649b52bc20 /src/scripts/13hack.sh | |
parent | a194193638c1dfa55164fa318b5c8ab8f735d746 (diff) | |
download | vyos-live-build-877d8dd14c0f97bf64db6ab21d23da98dd64fdd5.tar.gz vyos-live-build-877d8dd14c0f97bf64db6ab21d23da98dd64fdd5.zip |
Adding live-package 0.99.12-1.
Diffstat (limited to 'src/scripts/13hack.sh')
-rw-r--r-- | src/scripts/13hack.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/scripts/13hack.sh b/src/scripts/13hack.sh index bd3a33537..1f7b57a58 100644 --- a/src/scripts/13hack.sh +++ b/src/scripts/13hack.sh @@ -12,9 +12,12 @@ Hack_xorg () { # xserver-xorg << 7.1 - if [ -f "${LIVE_CHROOT}/etc/X11/xorg.conf" ] && [ "${LIVE_DISTRIBUTION}" = "testing" ] + if [ -f "${LIVE_CHROOT}/etc/X11/xorg.conf" ] then - # Comment "BusID" line and set driver to "vesa" - sed -i -e 's/\(^.*BusID.*\)/#\1/g' -e '/Section "Device"/,/EndSection/ s/\(.*Driver.*"\).*\(".*\)/\1vesa\2/g' "${LIVE_CHROOT}"/etc/X11/xorg.conf + if [ "${LIVE_DISTRIBUTION}" = "testing" ] || [ "${LIVE_DISTRIBUTION}" = "${CODENAME_TESTING}" ] + then + # Comment "BusID" line and set driver to "vesa" + sed -i -e 's/\(^.*BusID.*\)/#\1/g' -e '/Section "Device"/,/EndSection/ s/\(.*Driver.*"\).*\(".*\)/\1vesa\2/g' "${LIVE_CHROOT}"/etc/X11/xorg.conf + fi fi } |