diff options
author | Soispha <soispha@vhack.eu> | 2024-03-29 23:20:11 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-03-29 23:20:11 +0100 |
commit | 17c6a92be31b47cfd0691f1991364f4095cc2757 (patch) | |
tree | 98ab41992eba0bf2421ade5c02baa08128291852 | |
parent | docs(pkgs/scripts/fupdate): Add somewhat better documentation (diff) | |
download | nixos-config-17c6a92be31b47cfd0691f1991364f4095cc2757.tar.gz nixos-config-17c6a92be31b47cfd0691f1991364f4095cc2757.zip |
fix(pkgs/scripts/fupdate): Avoid inversion in check for --no-script
The check ran the update script if `--no-script` was specified and did not run it, if it was not.
Diffstat (limited to '')
-rwxr-xr-x | sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh b/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh index da89d16a..992a451a 100755 --- a/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh +++ b/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh @@ -82,7 +82,7 @@ update() { nix flake update - if ! [ "$update_script" = "" ] && [ "$UPDATE_SCRIPT_NOT_WANTED" = "true" ]; then + if ! [ "$update_script" = "" ] && ! [ "$UPDATE_SCRIPT_NOT_WANTED" = "true" ]; then "$update_script" "$@" fi |