about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-03-29 23:20:11 +0100
committerSoispha <soispha@vhack.eu>2024-03-29 23:20:11 +0100
commit17c6a92be31b47cfd0691f1991364f4095cc2757 (patch)
tree98ab41992eba0bf2421ade5c02baa08128291852
parentdocs(pkgs/scripts/fupdate): Add somewhat better documentation (diff)
downloadnixos-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-xsys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh2
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