From f4976148545eb34b87147ac0c5a38847f5b22780 Mon Sep 17 00:00:00 2001 From: b1ek Date: Wed, 14 Feb 2024 12:01:11 +1000 Subject: [PATCH] (feat) add brick for brick --- README.md | 1 + bricks/brick.brick | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 bricks/brick.brick diff --git a/README.md b/README.md index 88cc95b..5812ffd 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ to do this, run this: ok so for now there arent a lot (probably wont be lmao) but theres the ones that are there: 1. `omz` - a cool shell framework 2. `nvim` - like vim but better + has my "rice" +3. `brick` - brick's brick to install brick on your system (hopefully it won't brick it) to get the auto generated list of packages, run `./brick.sh -L` diff --git a/bricks/brick.brick b/bricks/brick.brick new file mode 100644 index 0000000..79f54a6 --- /dev/null +++ b/bricks/brick.brick @@ -0,0 +1,22 @@ +#!/bin/sh +# brick brick - a brick to install brick +# it installs brick.sh to ~/.local/bin/brick +# :3 + +downloads=( + https://git.blek.codes/blek/os/raw/branch/main/brick.sh +) + +pkgs() { + echo bash curl +} + +install() { + mkdir -p ~/.local/bin + cp ${downloads[0]} ~/.local/bin/brick + chmod +x ~/.local/bin/brick +} + +uninstall() { + rm ~/.local/bin/brick +}