only disally --include if variant is essential
This commit is contained in:
parent
e027e9458f
commit
bee38bcfc7
1 changed files with 1 additions and 1 deletions
|
@ -923,7 +923,7 @@ sub main() {
|
|||
die "invalid mode. Choose from auto, root, fakechroot, proot, unshare";
|
||||
}
|
||||
|
||||
if (grep { $_ eq $options->{variant} } ('essential', 'required') and defined $options->{include}) {
|
||||
if ($options->{variant} eq 'essential' and defined $options->{include}) {
|
||||
die "cannot install extra packages in essential and required variants because apt is missing";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue