summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-08-13 01:37:25 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-08-13 01:37:25 +0000
commitccb354df46579b55cfe8521cf30fbf007d69f933 (patch)
tree21b89b2e56f281014cb5a68afc991b22dd194449
parent0ee07ece875988099af5c8e58112b20aab48f3c5 (diff)
downloaddrakx-backup-do-not-use-ccb354df46579b55cfe8521cf30fbf007d69f933.tar
drakx-backup-do-not-use-ccb354df46579b55cfe8521cf30fbf007d69f933.tar.gz
drakx-backup-do-not-use-ccb354df46579b55cfe8521cf30fbf007d69f933.tar.bz2
drakx-backup-do-not-use-ccb354df46579b55cfe8521cf30fbf007d69f933.tar.xz
drakx-backup-do-not-use-ccb354df46579b55cfe8521cf30fbf007d69f933.zip
Concision, good (says perl_checker)
-rw-r--r--perl-install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 77540fa96..17e2ccb8e 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -449,7 +449,7 @@ sub psUsingHdlist {
$synth = $o_fhdlist;
$synth =~ s/hdlist/synthesis.hdlist/ or $synth = undef;
}
- $synth = "media/media_info/synthesis.$hdlist" unless $synth;
+ $synth ||= "media/media_info/synthesis.$hdlist";
install_any::getAndSaveFile($synth, $newsf);
$m->{synthesis_hdlist_size} = -s $newsf; #- keep track of size for post-check.
-s $newsf > 0 or unlink $newsf;