mirror of
https://github.com/elitak/nixos-infect.git
synced 2024-11-01 00:29:57 +03:00
Remove redundant DO check
Removed line performs the same check and the same action as the block a couple lines below
This commit is contained in:
parent
9c5b46d78e
commit
11d269dcd9
1 changed files with 0 additions and 1 deletions
|
@ -375,7 +375,6 @@ infect() {
|
||||||
/nix/var/nix/profiles/system/bin/switch-to-configuration boot
|
/nix/var/nix/profiles/system/bin/switch-to-configuration boot
|
||||||
}
|
}
|
||||||
|
|
||||||
[ "$PROVIDER" = "digitalocean" ] && doNetConf=y # digitalocean requires detailed network config to be generated
|
|
||||||
[ "$PROVIDER" = "lightsail" ] && newrootfslabel="nixos"
|
[ "$PROVIDER" = "lightsail" ] && newrootfslabel="nixos"
|
||||||
if [[ "$PROVIDER" = "digitalocean" ]] || [[ "$PROVIDER" = "servarica" ]] || [[ "$PROVIDER" = "hetznercloud" ]]; then
|
if [[ "$PROVIDER" = "digitalocean" ]] || [[ "$PROVIDER" = "servarica" ]] || [[ "$PROVIDER" = "hetznercloud" ]]; then
|
||||||
doNetConf=y # some providers require detailed network config to be generated
|
doNetConf=y # some providers require detailed network config to be generated
|
||||||
|
|
Loading…
Reference in a new issue