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:
parent
caf457b74f
commit
b068ea5d1c
2
kunst
2
kunst
|
@ -172,7 +172,7 @@ pre_exit() {
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
|
|
||||||
dependencies=(sxiv imagemagick bash ffmpeg mpc jq mpd)
|
dependencies=(sxiv convert bash ffmpeg mpc jq mpd)
|
||||||
for dependency in "${dependencies[@]}"; do
|
for dependency in "${dependencies[@]}"; do
|
||||||
type -p "$dependency" &>/dev/null || {
|
type -p "$dependency" &>/dev/null || {
|
||||||
echo "error: Could not find '${dependency}', is it installed?" >&2
|
echo "error: Could not find '${dependency}', is it installed?" >&2
|
||||||
|
|
Loading…
Reference in New Issue