remove no-op if statement

This commit is contained in:
Johannes 'josch' Schauer 2020-11-28 00:45:54 +01:00
parent 1e7e002eb1
commit b2ea7b230f
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -2628,10 +2628,6 @@ sub run_install() {
any { $_ eq $options->{mode} } any { $_ eq $options->{mode} }
('root', 'unshare', 'fakechroot', 'proot') ('root', 'unshare', 'fakechroot', 'proot')
) { ) {
# run essential hooks
if ($options->{variant} ne 'custom') {
}
if ($options->{variant} ne 'custom' if ($options->{variant} ne 'custom'
and scalar @{$pkgs_to_install} > 0) { and scalar @{$pkgs_to_install} > 0) {
# some packages have to be installed from the outside before # some packages have to be installed from the outside before