Kovid Goyal
631ca6393e
Linux installer: A nicer error message if the user tries to run the installer on an ARM machine
2017-12-04 12:32:36 +05:30
Kovid Goyal
3e2276db36
Do not check umask for isolated installs
2017-02-27 01:32:34 +05:30
Kovid Goyal
abbf258cfa
Linux installer: Check that the umask is suitable before running the installer.
...
This prevents system breakage because of bugs in xdg-mime when the user
has set their umask to prevent reading of files by other users on the
system. See https://www.mobileread.com/forums/showthread.php?t=277803
2017-02-27 01:30:29 +05:30
Kovid Goyal
b4abd1f1b3
pep8
2017-02-27 01:23:28 +05:30
Kovid Goyal
9b41e0c98f
Reduce number of Downloading prints when the installer output is redirected to a file
2016-03-29 21:08:02 +05:30
Kovid Goyal
3eaf62de5b
Yet another fix for python ssl distro compatibility
...
Apparently CentOS 7 just decided to backport the SSL patches from 2.7.9
to 2.7.5! Sigh.
I have no idea if this change will cause installation to stop working on
old Debian/Ubuntu. I love linux.
Fixes #1551800 [Automatic Linux install fails with SSL error](https://bugs.launchpad.net/calibre/+bug/1551800 )
2016-03-01 22:22:58 +05:30
Kovid Goyal
e71c1a4888
Change to using main server download URL for the linux installer
2016-01-09 10:53:50 +05:30
Kovid Goyal
5e8402c5ef
Allow the linux installer to work even if the installation location is a symlink
2016-01-03 14:33:27 +05:30
Kovid Goyal
2b3a1ea10c
Update CA root certificate to use a SHA256 signature
2015-12-23 11:29:43 +05:30
Kovid Goyal
b44951a46c
Do not run the post-installer through a shell
2015-11-22 07:31:02 +05:30
Kovid Goyal
27e4bd5b81
Simplify the main() function
2015-11-22 07:25:27 +05:30
Kovid Goyal
4abd16a4a5
Fix #396 (Fix UnicodeDecodeError in linux installer script)
2015-05-05 17:52:36 +05:30
Kovid Goyal
2d768e9f4e
Remove no longer needed branches from the linux installer
2015-03-24 13:38:54 +05:30
Kovid Goyal
ef09e886b3
Change all shebangs to use python2
2015-01-23 19:08:21 +05:30
Kovid Goyal
25b973ee2e
Change server the linux installer uses to avoid extra redirect
2015-01-17 12:34:03 +05:30
Kovid Goyal
1a8c28ecb9
Switch version check to new server
2015-01-12 11:40:39 +05:30
Kovid Goyal
0149c98092
Change signature downloads to new server
2015-01-12 04:14:12 +05:30
Kovid Goyal
03f3eb931d
Use create_default_context rather than manually creating the context
2015-01-07 11:53:53 +05:30
Kovid Goyal
d102bc256c
Workaround for Ubuntu/Debian's brilliant decision to partially backport patches from python 2.7.9 to 2.7.8
2014-12-18 17:33:52 +05:30
Kovid Goyal
b5849698c0
Use a functionality check on the SSL module instead of checking version numbers, since there are distros out there that backport patches without changing version numbers
2014-12-16 09:30:01 +05:30
Kovid Goyal
6a349b9c30
Use TLS 1.2 when available for https
2014-12-16 09:00:50 +05:30
Kovid Goyal
4f6ca8d7d2
When downloading https resources with a self-signed certificate, handle python 2.7.9's API breakage
...
See #1402579 (Can't install calibre due "ssl.SSLError: [SSL] PEM lib (_ssl.c:2525)")
2014-12-15 22:45:02 +05:30
Kovid Goyal
4e04a1a104
More robust tarball compression type detection in the linux installer
2014-08-08 18:31:14 +05:30
Kovid Goyal
8f9fa74586
Use LZMA insteap of BZIP2 to compress the linux binary tarball, for a large size reduction (~30%)
2014-08-08 18:31:11 +05:30
Kovid Goyal
88f19064dc
...
2014-03-25 16:44:49 +05:30
Kovid Goyal
f5e1a13ac6
Updated expired CA certificate
2014-03-25 16:39:08 +05:30
Kovid Goyal
87fedb8a6d
I love linux distros
2014-03-10 11:53:50 +05:30
Kovid Goyal
1ee24745ee
...
2014-03-10 08:16:01 +05:30
Kovid Goyal
290462909f
Linux binary install script: Fix error on linux systems where the system python has an encoding of None set on stdout. Assume encoding is utf-8 in this case.
2014-03-07 21:51:00 +05:30
Kovid Goyal
9a3e3ad146
...
2014-03-04 07:41:45 +05:30
Kovid Goyal
10dfa877d2
linux installer script: Do not use the filesystem to pass the downloaded tarball to tar as it is possible for malicuous code running on the users computer to alter the download file between signature verification and calling tar to extract the files.
2014-03-04 07:35:48 +05:30
Kovid Goyal
d0bb89c740
Linux installer: Allow using ~ when specifying the installation directory
2014-03-02 11:52:08 +05:30
Kovid Goyal
ffc4cadf39
Linux binary installer: Fix an error when using proxies and python 3
...
Fixes #1286274 [Binary linux installer fails because of bug in proxy debugging output](https://bugs.launchpad.net/calibre/+bug/1286274 )
2014-03-01 07:55:37 +05:30
Kovid Goyal
45e6468b01
Make the linux installer script compatible with python 2.6. Fixes #1286011 [Linux installer for calibre 1.26 does not work on CentOS 6.5]( https://bugs.launchpad.net/calibre/+bug/1286011 )
2014-02-28 13:58:06 +05:30
Kovid Goyal
c758c5be30
...
2014-02-26 12:19:27 +05:30
Kovid Goyal
552738a436
py3 compat
2014-02-24 14:30:01 +05:30
Kovid Goyal
6dc9091911
...
2014-02-24 13:46:47 +05:30
Kovid Goyal
5807e56bde
...
2014-02-24 13:45:18 +05:30
Kovid Goyal
a004fca78e
Nicer error message on failure
2014-02-24 10:06:15 +05:30
Kovid Goyal
0ff4a12538
...
2014-02-24 09:49:14 +05:30
Kovid Goyal
6ad895cd72
Make the installer run non-interactively with installation dir specified via environment variable
2014-02-24 08:07:39 +05:30
Kovid Goyal
ac35a5bddc
Move the linux installer download script into the calibre source tree
2014-02-23 18:58:03 +05:30