(feat) isolate build scripts from brick script
This commit is contained in:
parent
af22f05c44
commit
58cf4dc5fa
9
brick.sh
9
brick.sh
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue