fix invalid sed expressions
This commit is contained in:
parent
87fb66103f
commit
f0bcb96d97
|
|
@ -30,7 +30,7 @@ timedatectl set-ntp true
|
||||||
pacman -S --noconfirm archlinux-keyring #update keyrings to latest to prevent packages failing to install
|
pacman -S --noconfirm archlinux-keyring #update keyrings to latest to prevent packages failing to install
|
||||||
pacman -S --noconfirm --needed pacman-contrib terminus-font
|
pacman -S --noconfirm --needed pacman-contrib terminus-font
|
||||||
setfont ter-v22b
|
setfont ter-v22b
|
||||||
sed -i 's/ParallelDownloads/s/^#//' /etc/pacman.conf
|
sed -i '/ParallelDownloads/s/^#//' /etc/pacman.conf
|
||||||
pacman -S --noconfirm --needed reflector rsync grub
|
pacman -S --noconfirm --needed reflector rsync grub
|
||||||
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
|
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
|
||||||
echo "
|
echo "
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ echo "
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
Setup Language to US and set locale
|
Setup Language to US and set locale
|
||||||
-------------------------------------------------------------------------"
|
-------------------------------------------------------------------------"
|
||||||
sed -i 's/en_US.UTF-8 UTF-8/s/^#//' /etc/locale.gen
|
sed -i '/en_US.UTF-8 UTF-8/s/^#//' /etc/locale.gen
|
||||||
locale-gen
|
locale-gen
|
||||||
timedatectl --no-ask-password set-timezone ${TIMEZONE}
|
timedatectl --no-ask-password set-timezone ${TIMEZONE}
|
||||||
timedatectl --no-ask-password set-ntp 1
|
timedatectl --no-ask-password set-ntp 1
|
||||||
|
|
@ -56,11 +56,11 @@ ln -s /usr/share/zoneinfo/${TIMEZONE} /etc/localtime
|
||||||
localectl --no-ask-password set-keymap ${KEYMAP}
|
localectl --no-ask-password set-keymap ${KEYMAP}
|
||||||
|
|
||||||
# Add sudo no password rights
|
# Add sudo no password rights
|
||||||
sed -i 's/%wheel ALL=(ALL) NOPASSWD: ALL/s/^# //' /etc/sudoers
|
sed -i '/%wheel ALL=(ALL) NOPASSWD: ALL/s/^# //' /etc/sudoers
|
||||||
sed -i 's/%wheel ALL=(ALL:ALL) NOPASSWD: ALL/s/^# //' /etc/sudoers
|
sed -i '/%wheel ALL=(ALL:ALL) NOPASSWD: ALL/s/^# //' /etc/sudoers
|
||||||
|
|
||||||
#Add parallel downloading
|
#Add parallel downloading
|
||||||
sed -i 's/ParallelDownloads/s/^#//' /etc/pacman.conf
|
sed -i '/ParallelDownloads/s/^#//' /etc/pacman.conf
|
||||||
|
|
||||||
#Enable multilib
|
#Enable multilib
|
||||||
sed -i "/\[multilib\]/,/Include/"'s/^#//' /etc/pacman.conf
|
sed -i "/\[multilib\]/,/Include/"'s/^#//' /etc/pacman.conf
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue