From b335dfa09811806bed1cf2891ed5ffa88d471f09 Mon Sep 17 00:00:00 2001 From: Simon Doppler Date: Mon, 4 Sep 2017 19:10:06 +0200 Subject: Add check for transmission-show --- al32-mktorrent.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'al32-mktorrent.sh') diff --git a/al32-mktorrent.sh b/al32-mktorrent.sh index f6b697e..994820f 100644 --- a/al32-mktorrent.sh +++ b/al32-mktorrent.sh @@ -114,6 +114,11 @@ python -c "import feedgenerator" 2>/dev/null || ( exit 1 ) +which transmission-show 2>/dev/null || ( + echo "Missing transmission-show" + exit 1 +) + ### Actual program declare -a architectures=("i686" "dual") -- cgit v1.2.3-70-g09d2