summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/cpufreq.pm2
-rw-r--r--perl-install/do_pkgs.pm2
-rw-r--r--perl-install/mygtk2.pm2
3 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/cpufreq.pm b/perl-install/cpufreq.pm
index 91fb06d3f..d11f2cd89 100644
--- a/perl-install/cpufreq.pm
+++ b/perl-install/cpufreq.pm
@@ -112,7 +112,7 @@ sub probe_powernow_k8() {
get_vendor($_) eq "AMD" && (
($_->{'cpu family'} == 15 && ($_->{'power management'} =~ /\bfid\b/ || has_flag($_, 'fid'))) # frequency ID control)
||
- ($_->{'cpu family'} == 16 && ($_->{'power management'} =~ /\bhwpstate\b/)) # support for Athlon/Phenom II processors (#58477))
+ $_->{'cpu family'} == 16 && ($_->{'power management'} =~ /\bhwpstate\b/) # support for Athlon/Phenom II processors (#58477))
);
} get_cpus();
}
diff --git a/perl-install/do_pkgs.pm b/perl-install/do_pkgs.pm
index 02761ebcb..f5c73fd88 100644
--- a/perl-install/do_pkgs.pm
+++ b/perl-install/do_pkgs.pm
@@ -72,7 +72,7 @@ sub ensure_binary_is_installed {
sub ensure_files_are_installed {
my ($do, $pkgs, $b_auto) = @_;
- my @not_installed = map { my ($package, $file) = @$_; -e "$::prefix$file" ? () : $package } @$pkgs;
+ my @not_installed = map { my ($package, $file) = @$_; if_(!-e "$::prefix$file", $package) } @$pkgs;
$do->in->ask_okcancel(N("Warning"), N("The following packages need to be installed:\n") . join(', ', @not_installed), 1)
or return if !$b_auto && $do->in;
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index f6f80949c..53251b72b 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -24,7 +24,7 @@ sub init() {
@::textdomains;
Gtk2->croak_execeptions;
}
-init() unless ($::no_ugtk_init);
+init() unless $::no_ugtk_init;
Gtk2->croak_execeptions if $::isInstall;