[Pkg-privacy-commits] [torbrowser-launcher] 63/476: using "uname -m" to get the architecture instead of "arch"
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 13:21:23 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 479b9a445599e71df9dd07964185166937208a72
Author: Micah Lee <micahflee at riseup.net>
Date: Thu Feb 21 09:51:31 2013 -0800
using "uname -m" to get the architecture instead of "arch"
---
torbrowser-launcher | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/torbrowser-launcher b/torbrowser-launcher
index c8372f9..bf560a2 100755
--- a/torbrowser-launcher
+++ b/torbrowser-launcher
@@ -58,7 +58,7 @@ class TorBrowserLauncher:
# discover the architecture and language
def discover_arch_lang(self):
# figure out the architecture
- self.architecture = subprocess.Popen(['arch'], stdout=subprocess.PIPE, stderr=None).stdout.read().strip('\n')
+ self.architecture = subprocess.Popen(['uname', '-m'], stdout=subprocess.PIPE, stderr=None).stdout.read().strip('\n')
# figure out the language
available_languages = ['en-US', 'ar', 'de', 'es-ES', 'fa', 'fr', 'it', 'ko', 'nl', 'pl', 'pt-PT', 'ru', 'vi', 'zh-CN']
--
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