[Pkg-privacy-commits] [onionshare] 206/256: account for the fact that stdeb's util.py renames .dev to ~dev, in version names

Ulrike Uhlig ulrike at moszumanska.debian.org
Fri May 26 12:53:42 UTC 2017


This is an automated email from the git hooks/post-receive script.

ulrike pushed a commit to branch master
in repository onionshare.

commit 55d18d88f43d0f8035055ee9d6fee4bdcf4906b5
Author: Miguel Jacq <mig at mig5.net>
Date:   Fri May 19 14:36:28 2017 +1000

    account for the fact that stdeb's util.py renames .dev to ~dev, in version names
---
 install/build_deb.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/install/build_deb.sh b/install/build_deb.sh
index 51738e0..270d647 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"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onionshare.git



More information about the Pkg-privacy-commits mailing list