mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-06 16:35:03 -04: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
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue