debian/local/Failsafe/failsafeXinit | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 34f654f7fba482b78720d153e7053353632bd06d Author: Bryce Harrington <[EMAIL PROTECTED]> Date: Fri Sep 19 21:08:05 2008 -0700 Use /etc/X11/xorg.conf rather than $xorg_conf (which actually points to the failsafe xorg.conf) diff --git a/debian/local/Failsafe/failsafeXinit b/debian/local/Failsafe/failsafeXinit index 66e90bd..913b550 100755 --- a/debian/local/Failsafe/failsafeXinit +++ b/debian/local/Failsafe/failsafeXinit @@ -97,8 +97,8 @@ display_filebug_menu() { backup_xorg_conf() { # TODO: backup xorg.conf more elegantly... - xorg_conf_backup=${xorg_conf}-backup-${timestamp} - cp ${xorg_conf} ${xorg_conf_backup} + xorg_conf_backup="/etc/X11/xorg.conf-backup-${timestamp}" + cp /etc/X11/xorg_conf ${xorg_conf_backup} if [ ! $? ]; then return zenity --question --text "Your config could not be backed up.\nDo you want to continue anyway?\n" fi @@ -143,7 +143,7 @@ verify_xorgconf() { edit_config() { backup_xorg_conf || return 1 - gksu gedit $xorg_conf + gksu gedit "/etc/X11/xorg.conf" } save_config_logs() { @@ -199,7 +199,7 @@ done if [ "x$with_gdm" = "xwith-gdm" ]; then - export XORGCONFIG=${xorg_conf} + export XORGCONFIG="/etc/X11/xorg.conf" /etc/init.d/gdm restart fi -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]