mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-27 00:09:50 -05:00
account for the fact that stdeb's util.py renames .dev to ~dev, in version names
This commit is contained in:
parent
0cf9e44367
commit
55d18d88f4
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user