From 01051de36ab5d2aff05e0ac426f7007a9d52c55d Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sun, 10 Mar 2019 23:11:25 +0100 Subject: [PATCH 1/2] Make install script file executable --- .config/bootstrap/install.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 .config/bootstrap/install.sh diff --git a/.config/bootstrap/install.sh b/.config/bootstrap/install.sh old mode 100644 new mode 100755 From 9fc72b9f16fb56f9f03e4857f729aab91efcb4fa Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sun, 10 Mar 2019 23:22:54 +0100 Subject: [PATCH 2/2] Change install script wording --- .config/bootstrap/install.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.config/bootstrap/install.sh b/.config/bootstrap/install.sh index 799228d..fb117f7 100755 --- a/.config/bootstrap/install.sh +++ b/.config/bootstrap/install.sh @@ -144,7 +144,7 @@ serviceinit() { for service in "$@"; do systemctl start "$service" done ;} -systembeepoff() { dialog --infobox "Getting rid of that retarded error beep sound..." 10 50 +systembeepoff() { dialog --infobox "Getting rid of error beep sound..." 10 50 rmmod pcspkr echo "blacklist pcspkr" > /etc/modprobe.d/nobeep.conf ;} @@ -212,11 +212,6 @@ rm "/home/$name/README.md" # Pulseaudio, if/when initially installed, often needs a restart to work immediately. [ -f /usr/bin/pulseaudio ] && resetpulse -# Install vim `plugged` plugins. -dialog --infobox "Installing (neo)vim plugins..." 4 50 -(sleep 30 && killall nvim) & -sudo -u "$name" nvim -E -c "PlugUpdate|visual|q|q" >/dev/null 2>&1 - # Enable services here. serviceinit NetworkManager cronie @@ -228,6 +223,11 @@ systembeepoff newperms "%wheel ALL=(ALL) ALL #LARBS %wheel ALL=(ALL) NOPASSWD: /usr/bin/shutdown,/usr/bin/reboot,/usr/bin/systemctl suspend,/usr/bin/wifi-menu,/usr/bin/mount,/usr/bin/umount,/usr/bin/pacman -Syu,/usr/bin/pacman -Syyu,/usr/bin/packer -Syu,/usr/bin/packer -Syyu,/usr/bin/systemctl restart NetworkManager,/usr/bin/rc-service NetworkManager restart,/usr/bin/pacman -Syyu --noconfirm,/usr/bin/loadkeys,/usr/bin/yay,/usr/bin/pacman -Syyuw --noconfirm" +# Install vim `plugged` plugins. +dialog --infobox "Installing (neo)vim plugins..." 4 50 +(sleep 30 && killall nvim) & +sudo -u "$name" nvim -E -c "PlugUpdate|visual|q|q" >/dev/null 2>&1 + # Last message! Install complete! finalize -clear \ No newline at end of file +clear