(fix) move the prevent lines before the curl command

This commit is contained in:
b1ek 2024-02-13 19:39:22 +10:00
parent 0f631c5db4
commit a175bde161
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 1 additions and 1 deletions

View File

@ -23,11 +23,11 @@ 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
sh -c "$(curl https://example.com/script.sh)"
}
uninstall() {