Allow verifying prerequisites!

This commit is contained in:
2021-12-20 21:10:46 -08:00
parent e8bc9f0655
commit c06ca5dad2
4 changed files with 46 additions and 1 deletions

View File

@@ -44,4 +44,12 @@
_bad-message - Bad Message
}
_verify-prerequisites() {
if ! [[ -f /tmp/banana ]]; then
_bad-message There\'s not enough banana
_bad-message touch /tmp/banana to continue
exit 1
fi
}
source ⚡️