aboutsummaryrefslogtreecommitdiff
path: root/devscripts
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2016-05-21 21:46:42 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2016-05-21 21:47:22 +0200
commitd2fee3c99e9d1c8eba5bd55aa3a9dd5702b23b34 (patch)
tree41dd5a3c488d03107ac06f5cef365bc347dbc74d /devscripts
parent598869afb139707c7064a6c8397bbcf09b2b43f5 (diff)
release.sh: also check for python3 rsa module
Diffstat (limited to 'devscripts')
-rwxr-xr-xdevscripts/release.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/devscripts/release.sh b/devscripts/release.sh
index 8b37152a7..7dd391b38 100755
--- a/devscripts/release.sh
+++ b/devscripts/release.sh
@@ -33,7 +33,8 @@ if [ ! -z "`git status --porcelain | grep -v CHANGELOG`" ]; then echo 'ERROR: th
useless_files=$(find youtube_dl -type f -not -name '*.py')
if [ ! -z "$useless_files" ]; then echo "ERROR: Non-.py files in youtube_dl: $useless_files"; exit 1; fi
if [ ! -f "updates_key.pem" ]; then echo 'ERROR: updates_key.pem missing'; exit 1; fi
-if ! type pandoc 2>/dev/null; then echo 'ERROR: pandoc is missing'; exit 1; fi
+if ! type pandoc >/dev/null 2>/dev/null; then echo 'ERROR: pandoc is missing'; exit 1; fi
+if ! python3 -c 'import rsa' 2>/dev/null; then echo 'ERROR: python3-rsa is missing'; exit 1; fi
/bin/echo -e "\n### First of all, testing..."
make clean