mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-11 02:45: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
439272b74d
commit
157d790e27
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
|
# return install instructions if onionshare builds properly
|
||||||
if [[ $? -eq 0 ]]; then
|
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 ""
|
||||||
echo "To install, run:"
|
echo "To install, run:"
|
||||||
echo "sudo dpkg -i deb_dist/onionshare_$VERSION-1_all.deb"
|
echo "sudo dpkg -i deb_dist/onionshare_$VERSION-1_all.deb"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue