(fix) fix example brick breaking listing packages
This commit is contained in:
parent
670402e08c
commit
0f631c5db4
|
@ -4,9 +4,6 @@
|
||||||
# GPL3 only
|
# GPL3 only
|
||||||
# uwu
|
# 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() {
|
info() {
|
||||||
echo this brick does this and that
|
echo this brick does this and that
|
||||||
|
@ -27,6 +24,10 @@ pkgs() {
|
||||||
|
|
||||||
install() {
|
install() {
|
||||||
sh -c "$(curl https://example.com/script.sh)"
|
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() {
|
uninstall() {
|
||||||
|
|
Loading…
Reference in New Issue