carbs

Cem's Auto Rice Bootstrapping Scripts
git clone git://git.ckyln.com/carbs.git
Log | Files | Refs | README | LICENSE

commit 57940fa825d411ee8417195d1b6852259d92a0f9
parent 9d89455337bd1e860fd1cf61d34be036a18cdc29
Author: Cem Keylan <cem@ckyln.com>
Date:   Fri, 19 Jul 2019 13:27:14 +0300

Install base-devel on stage 1

Diffstat:
Mcarbs | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/carbs b/carbs @@ -140,7 +140,13 @@ if [ -n "$(pacman -T git)" ] then if [ -n "$(pacman -T sudo)" ] then - printf "Enter root password\n" + if [ $I3 = TRUE ] || [ $DM =TRUE ] + then + printf "Enter root password\n" + su -c "pacman -Sy && pacman -S base-devel --noconfirm && printf '$UN ALL=(ALL) NOPASSWD: ALL\n' > /etc/sudoers.d/new" || errorhandler 'Could not install base-devel' + else + printf "Enter root password\n" + fi su -c "pacman -Sy && pacman -S --noconfirm git" else sudo pacman -S --noconfirm git