Hey Steve,

sorry for me late reply. You are right about (a) cancel should mean
cancel. However it may be better to display either a warning that this
will make the upgrade of this package fail so that the user has a choice
about it. It seems to me like a lot of users who don't know what to
choose just click on cancel as a way say "make this dialog go away".

For (b) I was thinking of something like this:

diff -Nru ucf-3.007/ucf ucf-3.007ubuntu1/ucf
--- ucf-3.007/ucf       2008-05-30 08:22:03.000000000 +0200
+++ ucf-3.007ubuntu1/ucf        2008-08-05 20:31:07.000000000 +0200
@@ -953,7 +953,11 @@
                 exit 0
                ;;
            shell|Z|z)
-               bash >/dev/tty </dev/tty || true
+               if [ -n "$DISPLAY" ]; then
+                   x-terminal-emulator || true
+               else
+                   bash >/dev/tty </dev/tty || true
+               fi
                ;;
            keep_current|n|N|o|O|'')
                replace_md5sum;

Maybe with a added "[ "$DEBIAN_FRONTEND" = "gnome" ] || [
"$DEBIAN_FRONTEND" = "kde" ]; "

What do you think?

Thanks,
 Michael

-- 
ucf UI issues can cause upgrade failures
https://bugs.launchpad.net/bugs/243809
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to