Compare commits
2 Commits
af22f05c44
...
2948409f27
Author | SHA1 | Date |
---|---|---|
b1ek | 2948409f27 | |
b1ek | 58cf4dc5fa |
9
brick.sh
9
brick.sh
|
@ -177,10 +177,13 @@ i=1
|
|||
# pacman deps installed, lets install the actual shit
|
||||
for pkg in "${PKGS[@]}"; do
|
||||
inf "installing $pkg [$i/${#PKGS[@]}]"
|
||||
source $(getbrick $pkg)
|
||||
install > $BRICKS_DB/.$pkg-install-log
|
||||
SCRIPT="
|
||||
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))
|
||||
done
|
||||
|
||||
inf "done"
|
||||
|
||||
|
|
|
@ -11,5 +11,5 @@ pkgs() {
|
|||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue