[Pkg-privacy-commits] [torbrowser-launcher] 35/476: extracting and running work now. all that's left is verifying the signature, and tested each code path.
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 13:21:20 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 b0face661ffceed0dc8a2d9d4e6ce2d60baf0538
Author: Micah Lee <micahflee at riseup.net>
Date: Fri Feb 15 11:48:46 2013 -0800
extracting and running work now. all that's left is verifying the signature, and tested each code path.
---
torbrowser-launcher | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/torbrowser-launcher b/torbrowser-launcher
index 4eb542d..09c56f9 100755
--- a/torbrowser-launcher
+++ b/torbrowser-launcher
@@ -24,7 +24,7 @@ class TorBrowserLauncher:
if installed_tbb_version == current_tbb_version:
# current version is tbb is installed, launch it
- subprocess.call([self.paths['file']['start']])
+ self.run(False)
launch_gui = False
elif installed_tbb_version < self.current_tbb_version:
# there is a tbb upgrade available
@@ -267,10 +267,13 @@ class TorBrowserLauncher:
self.run_task();
def extract(self):
+ subprocess.call(['tar', '-xf', self.paths['file']['tarball'], '-C', self.paths['dir']['tbb']])
self.run_task();
- def run(self):
- self.run_task();
+ def run(self, run_next_task = True):
+ subprocess.Popen([self.paths['file']['start']])
+ if run_next_task:
+ self.run_task();
# exit
def delete_event(self, widget, event, data=None):
--
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