From 7bfe7cd264185ca729dfd13f396af7567072fbb5 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Sat, 21 Jun 2025 11:30:47 +0400 Subject: chore (dep.sh): only return 1 if the build dependencies are missing --- dep.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dep.sh') diff --git a/dep.sh b/dep.sh index 865a5be..67ead0f 100755 --- a/dep.sh +++ b/dep.sh @@ -45,7 +45,7 @@ check \ sxiv,nsxiv \ vim,nvim \ zathura \ - zsh,bash || retval=1 + zsh,bash # Script dependencies check \ @@ -54,7 +54,7 @@ check \ xgamma \ xinput \ xset \ - xwallpaper || retval=1 + xwallpaper # Build dependencies check \ -- cgit v1.2.3 From db71e6f124e168cbd97d581a60871de7f16c6510 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Sat, 21 Jun 2025 12:36:10 +0400 Subject: feat (dep.sh): check for optional dependencies --- dep.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'dep.sh') diff --git a/dep.sh b/dep.sh index 67ead0f..dc5f1bd 100755 --- a/dep.sh +++ b/dep.sh @@ -29,6 +29,31 @@ check() { retval=0 +# Optional Dependencies, skip QEMU and lualatex check +[ "${1}" = "--optional" ] && check \ + cmus \ + latex,pdflatex:"Latex is missing" \ + mutt,neomutt \ + pandoc \ + shellcheck \ + trans:"Translate shell is missing" \ + abook \ + acpi \ + cmus \ + dash \ + docker \ + ffmpeg \ + less \ + pass \ + python3 \ + rsync \ + sudo \ + tldr,"A tldr implementation is missing" \ + unclutter,"unclutter-xfixes is missing" \ + xclip \ + yt-dlp + + # Programs check \ Xorg \ -- cgit v1.2.3 From 51d85f1b6dab91e81e651b3c595e263b2cce3ba0 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Sat, 21 Jun 2025 12:37:18 +0400 Subject: fix (dep.sh): set `xclip` as a non-optional dependency --- dep.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dep.sh') diff --git a/dep.sh b/dep.sh index dc5f1bd..c4eeabe 100755 --- a/dep.sh +++ b/dep.sh @@ -50,7 +50,6 @@ retval=0 sudo \ tldr,"A tldr implementation is missing" \ unclutter,"unclutter-xfixes is missing" \ - xclip \ yt-dlp @@ -69,6 +68,7 @@ check \ startx:"xorg-xinit is missing" \ sxiv,nsxiv \ vim,nvim \ + xclip \ zathura \ zsh,bash -- cgit v1.2.3 From 3187279b87aa704c2bc3fc79153b75804cfd3802 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Sat, 21 Jun 2025 12:40:00 +0400 Subject: feat (dep.sh): add `pamus` as an optional dependency --- dep.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dep.sh') diff --git a/dep.sh b/dep.sh index c4eeabe..9346702 100755 --- a/dep.sh +++ b/dep.sh @@ -34,6 +34,7 @@ retval=0 cmus \ latex,pdflatex:"Latex is missing" \ mutt,neomutt \ + pamus \ pandoc \ shellcheck \ trans:"Translate shell is missing" \ @@ -52,7 +53,6 @@ retval=0 unclutter,"unclutter-xfixes is missing" \ yt-dlp - # Programs check \ Xorg \ -- cgit v1.2.3