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 8ef6d3d076
commit 439272b74d

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