diff --git a/expose.sh b/expose.sh index 3aa8d3d..b772610 100755 --- a/expose.sh +++ b/expose.sh @@ -76,6 +76,12 @@ ffmpeg_threads=${ffmpeg_threads:-0} # the -threads option for ffmpeg encode (0=a command -v convert >/dev/null 2>&1 || { echo "ImageMagick is a required dependency, aborting..." >&2; exit 1; } command -v identify >/dev/null 2>&1 || { echo "ImageMagick is a required dependency, aborting..." >&2; exit 1; } +command -v rsync >/dev/null 2>&1 || { echo "rsync is a required dependency, aborting..." >&2; exit 1; } + +if [ "$download_button" = true ] +then + command -v zip >/dev/null 2>&1 || { echo "zip is a required dependency, aborting..." >&2; exit 1; } +fi # file extensions for each video format video_format_extensions=("h264" "mp4" "h265" "mp4" "vp9" "webm" "vp8" "webm" "ogv" "ogv") diff --git a/readme.md b/readme.md index d5a4fb0..424f696 100644 --- a/readme.md +++ b/readme.md @@ -16,7 +16,7 @@ tested on Windows/Cygwin, OSX, and should be fine on Linux ### Installation -The only dependency is Imagemagick. For videos FFmpeg is also required. +The dependencies are Imagemagick, zip and rsync. For videos FFmpeg is also required. Download the repo and alias the script