Fix location of echo so that the return code check doesn't always succeed

This commit is contained in:
Miguel Jacq 2017-05-19 14:34:05 +10:00
parent d3eeda887b
commit 0cf9e44367
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6

View File

@ -12,8 +12,8 @@ rm -r deb_dist >/dev/null 2>&1
python3 setup.py --command-packages=stdeb.command bdist_deb
# return install instructions if onionshare builds properly
echo ""
if [[ $? -eq 0 ]]; then
echo ""
echo "To install, run:"
echo "sudo dpkg -i deb_dist/onionshare_$VERSION-1_all.deb"
else