diff options
author | Miguel Jacq <mig@mig5.net> | 2017-05-19 14:36:28 +1000 |
---|---|---|
committer | Miguel Jacq <mig@mig5.net> | 2017-05-19 14:36:28 +1000 |
commit | 55d18d88f43d0f8035055ee9d6fee4bdcf4906b5 (patch) | |
tree | 95bf3bc6782b735860d133f96b91c376e2702e36 | |
parent | 0cf9e44367393e2680c10c5256bafbfe892e00ed (diff) | |
download | onionshare-55d18d88f43d0f8035055ee9d6fee4bdcf4906b5.tar.gz onionshare-55d18d88f43d0f8035055ee9d6fee4bdcf4906b5.zip |
account for the fact that stdeb's util.py renames .dev to ~dev, in version names
-rwxr-xr-x | install/build_deb.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/install/build_deb.sh b/install/build_deb.sh index 51738e02..270d647c 100755 --- a/install/build_deb.sh +++ b/install/build_deb.sh @@ -13,6 +13,9 @@ python3 setup.py --command-packages=stdeb.command bdist_deb # return install instructions if onionshare builds properly if [[ $? -eq 0 ]]; then + # The build process in stdeb's util.py renames .dev to ~dev + # Adjust it here for the purposes of displaying the right filename + VERSION="${VERSION/.dev/~dev}" echo "" echo "To install, run:" echo "sudo dpkg -i deb_dist/onionshare_$VERSION-1_all.deb" |