summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-08 03:46:25 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 23:28:17 +0100
commit8726e6dd60ee00abff6cb6a581f749158ca9dc7e (patch)
tree73f8e102c2ac33a76cb02caaa729caf520590d14 /perl-install/standalone
parenta7f8805575a700e5ca8dfc962e8049eff33b71b4 (diff)
downloaddrakx-8726e6dd60ee00abff6cb6a581f749158ca9dc7e.tar
drakx-8726e6dd60ee00abff6cb6a581f749158ca9dc7e.tar.gz
drakx-8726e6dd60ee00abff6cb6a581f749158ca9dc7e.tar.bz2
drakx-8726e6dd60ee00abff6cb6a581f749158ca9dc7e.tar.xz
drakx-8726e6dd60ee00abff6cb6a581f749158ca9dc7e.zip
prevent set_active() to be called with undef parameter
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakfont6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont
index f52f2a538..49a871b7c 100755
--- a/perl-install/standalone/drakfont
+++ b/perl-install/standalone/drakfont
@@ -100,9 +100,9 @@ $ugtk3::wm_icon = "drakfont";
my $xlsfonts = 0;
my $windows = 0;
my $replace;
-my $so = -f '/usr/bin/ooffice';
-my $gs = -f '/usr/bin/gs';
-my $abi = -f '/usr/bin/abiword';
+my $so = to_bool(-f '/usr/bin/ooffice');
+my $gs = to_bool(-f '/usr/bin/gs');
+my $abi = to_bool(-f '/usr/bin/abiword');
my $printer = 1;
my $mode = -1;
my @application;