From 82b1068d8b358cd9a413290c961b04cbae120135 Mon Sep 17 00:00:00 2001 From: natemaia Date: Sat, 21 Sep 2019 13:57:31 -0700 Subject: [PATCH] Quote spots where /* could be confused as comments --- archlabs-installer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archlabs-installer b/archlabs-installer index 3450cec..e5bf8d1 100755 --- a/archlabs-installer +++ b/archlabs-installer @@ -1470,7 +1470,7 @@ install_boot() mkdir -pv $MNT/$BOOTDIR/EFI/BOOT case "$BOOTLDR" in grub) cp -fv $MNT/$BOOTDIR/EFI/$DIST/grubx64.efi $MNT/$BOOTDIR/EFI/BOOT/BOOTX64.EFI ;; - syslinux) cp -rf $MNT/$BOOTDIR/EFI/syslinux/* $MNT/$BOOTDIR/EFI/BOOT/ && cp -f $MNT/$BOOTDIR/EFI/syslinux/syslinux.efi $MNT/$BOOTDIR/EFI/BOOT/BOOTX64.EFI ;; + syslinux) cp -rf "$MNT/$BOOTDIR/EFI/syslinux/"* $MNT/$BOOTDIR/EFI/BOOT/ && cp -f $MNT/$BOOTDIR/EFI/syslinux/syslinux.efi $MNT/$BOOTDIR/EFI/BOOT/BOOTX64.EFI ;; refind-efi) sed -i '/#extra_kernel_version_strings/ c extra_kernel_version_strings linux-hardened,linux-zen,linux-lts,linux' $MNT/$BOOTDIR/EFI/refind/refind.conf cp -fv $MNT/$BOOTDIR/EFI/refind/refind_x64.efi $MNT/$BOOTDIR/EFI/BOOT/BOOTX64.EFI ;; esac @@ -2294,7 +2294,7 @@ live() esac done pacman -Scc --noconfirm - rm -rf /var/cache/pacman/pkg/* + rm -rf "/var/cache/pacman/pkg/"* cp -rfT /etc/skel /root || die 1 sed -i "/exec/ c exec ${WM_SESSIONS[$ses]}" /root/.xinitrc printf "\n%s has been set as the login session in /root/.xinitrc, to start the session simply run\n\n\tstartx\n\n" "${WM_SESSIONS[$ses]}"