summaryrefslogtreecommitdiff
path: root/lumebuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lumebuild.sh')
-rwxr-xr-x[-rw-r--r--]lumebuild.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/lumebuild.sh b/lumebuild.sh
index 4896658..3f17ff0 100644..100755
--- a/lumebuild.sh
+++ b/lumebuild.sh
@@ -15,6 +15,15 @@ COMMIT_COMMENT="`echo "Memory" && free -h | head -2 | awk '{print $(NF-5)"," $(
export DENO_INSTALL="/home/$USER/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"
+commands=("deno" "git" "toot" "cwebp")
+
+for cmd in "${commands[@]}"; do
+ if ! command -v "$cmd" >/dev/null 2>&1; then
+ echo "Please install: $cmd"
+ exit 1
+ fi
+done
+
git_commit() {
cd "$SRC_DIR" || exit
ls "$SRC_DIR/.git" || git init || exit