carbs

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

commit 396e3dd449749e5111013f63f42f843692b7f1a2
parent dec7f61a7ca6d49e2f10e6f7dc23608bdd9a3b18
Author: Cem Keylan <cem@ckyln.com>
Date:   Tue, 16 Jul 2019 00:23:03 +0300

Do not continue if base-devel is not installed

Diffstat:
Mcarbs | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/carbs b/carbs @@ -35,9 +35,12 @@ NC='\033[0m' # No Color errorhandler() {\ echo -e "${RED}Error: $1${NC}" | tee -a $CARBHOME/.log &&\ - exit + exit 1 } +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 if [ $EXECUTE = TRUE ]