Oh oops.  Also, another typo.

diff --git a/debian/local/Failsafe/failsafeXinit 
b/debian/local/Failsafe/failsafeXinit
index 37b18f3..0fcea8f 100755
--- a/debian/local/Failsafe/failsafeXinit
+++ b/debian/local/Failsafe/failsafeXinit
@@ -146,7 +146,8 @@ verify_xorgconf() {
 edit_config() {
     backup_xorg_conf || return 1
 
-    xorg_conf_tmp=$(mktemp -t "/tmp/xorg.conf.XXXXXXXX")
+    xorg_conf_tmp=$(mktemp -t xorg.conf.XXXXXXXX)
+    chmod 644 "${xorg_conf_tmp}"
     zenity --text-info --editable --filename=/etc/X11/xorg.conf --width=640 
--height=480 > "${xorg_conf_tmp}" && mv "${xorg_conf_tmp}" /etc/X11/xorg.conf
 }
 
@@ -167,7 +168,7 @@ save_config_logs() {
     tar -cf ${xorg_backup_file} ${xorg_backup_dir}
     rm -rf ${xorg_backup_dir}
 
-    zenity --info --text "$(gettext 'Relevant configuration and log files have 
been saved to:\n')"$xorg_backup_file\n"$(gettext 'Bug reports can be submitted 
at http://www.launchpad.net/ubuntu/.\n')"
+    zenity --info --text "$(gettext 'Relevant configuration and log files have 
been saved to:\n')""$xorg_backup_file"$'\n'"$(gettext 'Bug reports can be 
submitted at http://www.launchpad.net/ubuntu/.\n')"
 }
 
 # Scan Xorg.0.log for errors

-- 
typos in failsafeXinit
https://bugs.launchpad.net/bugs/348639
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to