From 9b5d5982b782c4155776f45c64be08ae9d9c64b6 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 26 Jan 2009 14:54:02 +0000 Subject: Don't warn if the config file was empty --- perl-install/standalone/drakdvb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/standalone/drakdvb b/perl-install/standalone/drakdvb index 802a4feb2..b4f1e2010 100755 --- a/perl-install/standalone/drakdvb +++ b/perl-install/standalone/drakdvb @@ -53,7 +53,7 @@ sub exitapp() { } sub detect_channels() { - if (-e $config_file) { + if (-s $config_file) { $in->ask_okcancel(N("Warning"), N("%s already exists and its contents will be lost", $config_file)) or return; } gtkset_mousecursor_wait($w->{window}->window); -- cgit v1.2.1