mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Nicer error message on failure
This commit is contained in:
parent
0ff4a12538
commit
a004fca78e
@ -655,5 +655,5 @@ except NameError:
|
||||
from_file = False
|
||||
|
||||
if __name__ == '__main__' and from_file:
|
||||
# wget -qO- https://github.com/kovidgoyal/calibre/raw/master/setup/linux-installer.py | sudo INSTALL_DIR=/opt python -c "import sys; exec(sys.stdin.read()); main()" # noqa
|
||||
# wget -nv -O- https://github.com/kovidgoyal/calibre/raw/master/setup/linux-installer.py | sudo INSTALL_DIR=/opt python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()" # noqa
|
||||
main()
|
||||
|
Loading…
x
Reference in New Issue
Block a user