fix(packages/rebuild): invert QUICK logic to disable prompts when set

This commit is contained in:
Mohammad Rafiq 2025-06-12 23:06:05 +08:00
parent 5ba27ad3ae
commit d714cef3c3
No known key found for this signature in database

View file

@ -106,7 +106,7 @@ pkgs.writeShellScriptBin "rebuild" # sh
fi
fi
if "$QUICK"; then
if ! "$QUICK"; then
prompt "Commit changes" commit
prompt "Reboot system" sudo systemctl reboot
fi