From 17c6a92be31b47cfd0691f1991364f4095cc2757 Mon Sep 17 00:00:00 2001 From: Soispha Date: Fri, 29 Mar 2024 23:20:11 +0100 Subject: 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. --- sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1