carbs

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

commit 6df4b4a66b02912c87ae57041b5e1f506ee639a1
parent e0c96fcdd500af55ea15c0e855b35f36477eb161
Author: Cem Keylan <cem@ckyln.com>
Date:   Tue, 16 Jul 2019 12:11:34 +0300

Install base-devel if sudo is already installed

Diffstat:
Mcarbs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/carbs b/carbs @@ -39,7 +39,6 @@ errorhandler() {\ } pacman -Q sudo || errorhandler 'Please install base-devel as the root user before running this script by typing: pacman -S base-devel' -pacman -Q fakeroot || errorhandler 'Please install base-devel as the root user before running this script by typing: pacman -S base-devel' while : do @@ -131,6 +130,7 @@ then then sudo pacman -Sy || errorhandler "Could not refresh repository cache, is your keyring up to date? Are you sure you are connected to the internet?" fi + [ -n "$(pacman -T fakeroot)" ] && sudo pacman -S base-devel if [ $(pacman -T yay) = "yay" ] then git clone https://aur.archlinux.org/yay-bin.git