From b2ea7b230fb419eb8521276acffddbf908757c64 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Sat, 28 Nov 2020 00:45:54 +0100 Subject: [PATCH] remove no-op if statement --- mmdebstrap | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mmdebstrap b/mmdebstrap index c28ffc9..8445545 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -2628,10 +2628,6 @@ sub run_install() { any { $_ eq $options->{mode} } ('root', 'unshare', 'fakechroot', 'proot') ) { - # run essential hooks - if ($options->{variant} ne 'custom') { - } - if ($options->{variant} ne 'custom' and scalar @{$pkgs_to_install} > 0) { # some packages have to be installed from the outside before