carbs

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

commit d4c93d3d6a1e09e65535668f6ad07a692fde615f
parent 57dc05d3293c407353e20c1050b866541f6e9aef
Author: Cem Keylan <cem@ckyln.com>
Date:   Tue,  1 Oct 2019 14:15:55 +0300

installs base-devel for openrc

Diffstat:
Mcarbs | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/carbs b/carbs @@ -137,7 +137,18 @@ installyay() {\ makepkg --noconfirm --ignore-arch -si || die 'Could not install yay' } +basedevel-openrc () { + ORBDL=(pacman autoconf automake binutils bison fakeroot file findutils flex gawk gcc \ + gettext grep groff gzip libtool m4 make patch pkgconf sed sudo texinfo util-linux which) + for pkg in ${ORBDL[*]}; do + out 'Installing %s' "$pkg" + sudo pacman -S --noconfirm --needed $pkg >/dev/null || die 'Could not install %s' "$pkg" + msg 'Installed %s' "$pkg" + done +} + installyaybin() {\ + which systemctl || basedevel-openrc sudo pacman -S --noconfirm --needed base-devel || die 'Could not install base-devel' cd /tmp dir=$(mktemp -d)