aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorjakobst1n <jakob@jakobstendahl.no>2024-10-29 11:36:16 +0100
committerjakobst1n <jakob@jakobstendahl.no>2024-10-29 11:36:16 +0100
commit1f98fb513aa1ca8c3fa26b67d55f205d238a63bf (patch)
tree64ee94c3accf401ee19130f4bc21d4a0c1a9e477 /configure
parente5f1f0473b7873094d52970cb10e1cb661e4cd5a (diff)
downloaddotfiles-1f98fb513aa1ca8c3fa26b67d55f205d238a63bf.tar.gz
dotfiles-1f98fb513aa1ca8c3fa26b67d55f205d238a63bf.zip
Fix some broken points
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure b/configure
index edad8d2..13e1fa4 100755
--- a/configure
+++ b/configure
@@ -8,6 +8,23 @@ function generate_makefile {
make Makefile
}
+if ! command -v dialog; then
+ echo '"dialog" not found, please install before continuing"
+ exit 1
+fi
+if ! command -v m4; then
+ echo 'm4" not found, please install before continuing"
+ exit 1
+fi
+if ! command -v make; then
+ echo 'make" not found, please install before continuing"
+ exit 1
+fi
+if ! command -v awk; then
+ echo 'awk" not found, please install before continuing"
+ exit 1
+fi
+
if [ -f "${CONFIG_FILE}" ]; then
dialog \
--keep-tite \