From a339d013ece3ba784c0f5078297e2049d27138a8 Mon Sep 17 00:00:00 2001 From: SpotlessParty4 <95041407+SpotlessParty4@users.noreply.github.com> Date: Mon, 22 Apr 2024 19:23:09 +0800 Subject: [PATCH] Add -a parameter to tee command in setup.sh to prevent file overwriting --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 25c24cc..c65ef7f 100755 --- a/setup.sh +++ b/setup.sh @@ -21,7 +21,7 @@ fi function setup_refind { sudo cp "$ESP/EFI/refind/refind.conf" "$ESP/EFI/refind/refind.conf.bak" - echo "include refind2k/refind2k.conf" | sudo tee "$ESP/EFI/refind/refind.conf" + echo "include refind2k/refind2k.conf" | sudo tee -a "$ESP/EFI/refind/refind.conf" sudo mkdir -p "$ESP/EFI/refind/refind2k" sudo cp -r banners/ icons/ refind2k.conf "$ESP/EFI/refind/refind2k/" }