[Pkg-privacy-commits] [torbrowser-launcher] 105/476: to build and install even with new versions, run build_and_install.sh. fixes #21

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 13:21:27 UTC 2015


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

infinity0 pushed a commit to branch debian
in repository torbrowser-launcher.

commit ca740e7f6733ec01f3fd4cb5c4280bc4ef992985
Author: Micah Lee <micahflee at riseup.net>
Date:   Tue Apr 9 12:49:07 2013 -0700

    to build and install even with new versions, run build_and_install.sh. fixes #21
---
 README               | 12 +++++++-----
 build_and_install.sh |  3 +++
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/README b/README
index 8bb3ffa..b5cc468 100644
--- a/README
+++ b/README
@@ -30,8 +30,13 @@ Also install the torbrowser-launcher dependencies:
 
   apt-get install python-gtk2 python-psutil python-twisted wmctrl gnupg
 
-Building
---------
+Building and Installing
+-----------------------
+
+If you're using a Debian-based distribution, you can build a .deb and install it
+in one step by running:
+
+  ./build_and_install.sh
 
 To build a Debian source package:
 
@@ -41,9 +46,6 @@ To build a Debian binary package:
 
   python setup.py --command-packages=stdeb.command bdist_deb
 
-Installing
-----------
-
 Once you've made a .deb, you can install by running this as root:
 
   dpkg -i deb_dist/torbrowser-launcher_VERSION_all.deb
diff --git a/build_and_install.sh b/build_and_install.sh
index d1c2a39..a3f565a 100755
--- a/build_and_install.sh
+++ b/build_and_install.sh
@@ -3,6 +3,9 @@
 # to clean up from last time, run this:
 # rm -rf ~/.torbrowser
 
+# clean up from last build
+rm -r deb_dist
+
 # build binary package
 python setup.py --command-packages=stdeb.command bdist_deb
 

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



More information about the Pkg-privacy-commits mailing list