From 0f631c5db44a6e7373e278180b03cb080d93aa00 Mon Sep 17 00:00:00 2001 From: b1ek Date: Tue, 13 Feb 2024 19:38:03 +1000 Subject: [PATCH] (fix) fix example brick breaking listing packages --- bricks/example.brick | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bricks/example.brick b/bricks/example.brick index 6f341fe..864cdd4 100644 --- a/bricks/example.brick +++ b/bricks/example.brick @@ -4,9 +4,6 @@ # GPL3 only # uwu -# this 2 lines are to prevent it from being installed -errcho '`example` brick is not an installable brick, its for packaging reference only' -exit 1 info() { echo this brick does this and that @@ -27,6 +24,10 @@ pkgs() { install() { sh -c "$(curl https://example.com/script.sh)" + # these 2 lines are to prevent it from being installed + errcho '`example` brick is not an installable brick, its for packaging reference only' + exit 1 + } uninstall() {