summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-23 18:25:56 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-23 18:25:56 +0000
commitb001d1b306c43bc535ff5a5ed3efae1ab965f616 (patch)
tree9f432a502eca58896e4bc88cebabf5e706c5bc09
parent80f532ebfa9c6b819c81d3a9108ce6c5f9553279 (diff)
downloadmgaonline-b001d1b306c43bc535ff5a5ed3efae1ab965f616.tar
mgaonline-b001d1b306c43bc535ff5a5ed3efae1ab965f616.tar.gz
mgaonline-b001d1b306c43bc535ff5a5ed3efae1ab965f616.tar.bz2
mgaonline-b001d1b306c43bc535ff5a5ed3efae1ab965f616.tar.xz
mgaonline-b001d1b306c43bc535ff5a5ed3efae1ab965f616.zip
prevent urpmi.update to run /usr/bin/resize through
Term::ReadKey->GetTerminalSize() when xterm is installed (which freeze the desktop)
-rwxr-xr-xmdkapplet4
1 files changed, 4 insertions, 0 deletions
diff --git a/mdkapplet b/mdkapplet
index 3d9ca953..65dfe6e0 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -40,6 +40,10 @@ use mdkonline;
use Gtk2::TrayIcon;
use Gtk2::NotificationBubble;
+# prevent urpmi.update to run /usr/bin/resize through Term::ReadKey->GetTerminalSize() when xterm is installed
+# (which freeze the desktop):
+$ENV{COLUMNS} = 80;
+$ENV{LINES} = 25;
# POSIX unmasks the sigprocmask properly
my $sigset = POSIX::SigSet->new;