From 31ee6186940ee3520eaf7d1f6a0427b11dc8fc77 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sat, 27 May 2023 21:52:41 +0300 Subject: [PATCH] Fix condition in rebuild.sh --- rebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rebuild.sh b/rebuild.sh index 562d79b..dec6419 100755 --- a/rebuild.sh +++ b/rebuild.sh @@ -21,7 +21,7 @@ if [[ $machine == "" ]]; then read -p "What machine would you like to build? (Possible options: $available_machines): " machine fi -if [[ $1 == "-c" && $1 == "--clean-garbage" ]]; then +if [[ $1 == "-c" || $1 == "--clean-garbage" ]]; then clean_garbage=y else read -p "Clean garbage? [Y/N]: " clean_garbage