Skip to content

Commit 00ff007

Browse files
committed
Fix SC2129 from ShellCheck
1 parent 65460a8 commit 00ff007

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/scripts/ubuntu-script.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,11 @@ function configure_grub_bootloader() {
148148
if (neofetch | grep -i Pop\!_OS); then
149149
sudo cp /boot/grub/x86_64-efi/grub.efi /boot/efi/EFI/pop/grubx64.efi
150150
echo "1) Click on the File tab > Change Environment... " >~/"$CONFIG_FOLDER"/grub.txt
151-
echo "2) Where is OUTPUT_FILE: '/boot/grub/grub.cfg' Switch to: " >>~/"$CONFIG_FOLDER"/grub.txt
152-
echo "/boot/efi/EFI/pop/grub.cfg" >>~/"$CONFIG_FOLDER"/grub.txt
153-
echo "3) Then check [X] Save this setting > Apply\!" >>~/"$CONFIG_FOLDER"/grub.txt
151+
{
152+
echo "2) Where is OUTPUT_FILE: '/boot/grub/grub.cfg' Switch to: "
153+
echo "/boot/efi/EFI/pop/grub.cfg"
154+
echo "3) Then check [X] Save this setting > Apply\!"
155+
} >>~/"$CONFIG_FOLDER"/grub.txt
154156

155157
cat ~/"$CONFIG_FOLDER"/grub.txt
156158
sudo grub-customizer

0 commit comments

Comments
 (0)