Do most dependency checking during install instead of runtime

This commit is contained in:
Alexander Gehrke 2020-08-11 12:09:05 +02:00
parent f8d866b623
commit a2d794ea70
34 changed files with 74 additions and 27 deletions

View file

@ -1,6 +1,5 @@
#!/bin/zsh
source ${$(realpath "$0"):h:h}/lib/common.zsh
#dep:rofi
emulate -L zsh
@ -9,13 +8,6 @@ CONFIG_PATH="$HOME/.config/dmsearch"
CACHE_PATH="$HOME/.cache/dmsearch"
mkdir -p "${CACHE_PATH}"
# required software
depend dmsearch \
rofi \
mv \
tail \
cut
################################################################################
# helpers