fixed wrong dependency name

I accidentally checked if imagemagick instead of convert. 
imagemagick is the package, but convert is one of the commands.
This commit is contained in:
Siddharth Dushantha 2020-03-28 19:38:48 +01:00 committed by GitHub
parent caf457b74f
commit b068ea5d1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
kunst
View File

@ -172,7 +172,7 @@ pre_exit() {
main() {
dependencies=(sxiv imagemagick bash ffmpeg mpc jq mpd)
dependencies=(sxiv convert bash ffmpeg mpc jq mpd)
for dependency in "${dependencies[@]}"; do
type -p "$dependency" &>/dev/null || {
echo "error: Could not find '${dependency}', is it installed?" >&2