mirror of
https://github.com/elitak/nixos-infect.git
synced 2024-12-22 08:08:29 +03:00
error in varname PROVIDER
This commit is contained in:
parent
5ef3f953d3
commit
453eb934be
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ infect() {
|
|||
/nix/var/nix/profiles/system/bin/switch-to-configuration boot
|
||||
}
|
||||
|
||||
if [ ! -v PROVIDER ]; then
|
||||
if [ ! -v $PROVIDER ]; then
|
||||
autodetectProvider
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue