summaryrefslogtreecommitdiffstats
path: root/urpm/install.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-09-03 21:06:46 +0200
committerColin Guthrie <colin@mageia.org>2015-09-04 11:48:59 +0100
commit587952368801b484779459bbcf810069c87626d1 (patch)
tree62e85d109dba3fcba932d9723af7892b66c36fd7 /urpm/install.pm
parent94a331efca4691180e301e90f14e14d97f1af6fe (diff)
downloadurpmi-587952368801b484779459bbcf810069c87626d1.tar
urpmi-587952368801b484779459bbcf810069c87626d1.tar.gz
urpmi-587952368801b484779459bbcf810069c87626d1.tar.bz2
urpmi-587952368801b484779459bbcf810069c87626d1.tar.xz
urpmi-587952368801b484779459bbcf810069c87626d1.zip
help perl_checker
Diffstat (limited to 'urpm/install.pm')
-rw-r--r--urpm/install.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index d4b83706..ac68c9eb 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -21,7 +21,7 @@ urpm::install - Package installation transaction routines for urpmi
# size of the installation progress bar
my $progress_size = 45;
-if (-t STDOUT) {
+if (-t *STDOUT) {
eval {
require Term::ReadKey;
($progress_size) = Term::ReadKey::GetTerminalSize();