1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Fix capitalization in rebuild.sh

This commit is contained in:
RGBCube 2023-11-01 19:19:02 +03:00
parent d2edbc7c84
commit 9d29867579

View file

@ -22,9 +22,9 @@ if [[ $machine == "" ]]; then
fi fi
if [[ $1 == "-c" || $1 == "--clean-garbage" ]]; then if [[ $1 == "-c" || $1 == "--clean-garbage" ]]; then
clean_garbage=y clean_garbage=Y
else else
read -p "Clean garbage? [Y/N]: " clean_garbage read -p "Clean garbage? [y/N]: " clean_garbage
fi fi
sudo nixos-rebuild switch --impure --flake .#$machine || exit 1 sudo nixos-rebuild switch --impure --flake .#$machine || exit 1