summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-06-21 09:30:23 +0000
committerOlivier Blin <oblin@mandriva.org>2005-06-21 09:30:23 +0000
commit6ac2d9413cd7d4e81f738d77a0047d1b227e61a0 (patch)
treeddc8b0ced8d54434ff794fda7362c7048fb2461d
parent20d8af6c9718ffcc2ba64d9a19edcfbb2b36726a (diff)
downloaddrakx-backup-do-not-use-6ac2d9413cd7d4e81f738d77a0047d1b227e61a0.tar
drakx-backup-do-not-use-6ac2d9413cd7d4e81f738d77a0047d1b227e61a0.tar.gz
drakx-backup-do-not-use-6ac2d9413cd7d4e81f738d77a0047d1b227e61a0.tar.bz2
drakx-backup-do-not-use-6ac2d9413cd7d4e81f738d77a0047d1b227e61a0.tar.xz
drakx-backup-do-not-use-6ac2d9413cd7d4e81f738d77a0047d1b227e61a0.zip
perl_checker/suxiness fixes
-rw-r--r--perl-install/network/pxe.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/network/pxe.pm b/perl-install/network/pxe.pm
index 7c57b3ae8..a75aa18eb 100644
--- a/perl-install/network/pxe.pm
+++ b/perl-install/network/pxe.pm
@@ -249,15 +249,15 @@ sub find_next_profile_name {
sub add_empty_profile {
my ($profiles_conf) = @_;
my $profile = find_next_profile_name($profiles_conf, "profile_");
- $profiles_conf->{profiles}{boot}{$profile} = 1 ;
+ $profiles_conf->{profiles}{boot}{$profile} = 1;
}
sub copy_profile_for_type {
my ($profile, $clone, $type) = @_;
my ($pxe, $help) = get_pxelinux_profile_path($profile, $type);
my ($clone_pxe, $clone_help) = get_pxelinux_profile_path($clone, $type);
- -r $pxe && cp_f($pxe, $clone_pxe);
- -r $help && cp_f($help, $clone_help);
+ -r $pxe and cp_f($pxe, $clone_pxe);
+ -r $help and cp_f($help, $clone_help);
}
sub clone_profile {