Compare commits

..

2 Commits

Author SHA1 Message Date
b1ek 2948409f27
(feat) isolate omz install script as well 2024-02-14 10:28:11 +10:00
b1ek 58cf4dc5fa
(feat) isolate build scripts from brick script 2024-02-14 10:27:31 +10:00
2 changed files with 7 additions and 4 deletions

View File

@ -177,10 +177,13 @@ i=1
# pacman deps installed, lets install the actual shit # pacman deps installed, lets install the actual shit
for pkg in "${PKGS[@]}"; do for pkg in "${PKGS[@]}"; do
inf "installing $pkg [$i/${#PKGS[@]}]" inf "installing $pkg [$i/${#PKGS[@]}]"
source $(getbrick $pkg) SCRIPT="
install > $BRICKS_DB/.$pkg-install-log export BRICKS_DIR=$BRICKS_DIR
export BRICKS_DB=$BRICKS_DB
source $(getbrick $pkg)\n
install"
echo -e "$SCRIPT" | bash > $BRICKS_DB/.$pkg-install-log
i=$(($i + 1)) i=$(($i + 1))
done done
inf "done" inf "done"

View File

@ -11,5 +11,5 @@ pkgs() {
} }
install() { install() {
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" echo sh -c "\$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | bash
} }