print not input
This commit is contained in:
parent
0e71dcd9a8
commit
d3aab286f8
1 changed files with 2 additions and 2 deletions
4
install
4
install
|
@ -69,11 +69,11 @@ class Install(Thread):
|
||||||
elif has_bin('dnf') and dnf_packages:
|
elif has_bin('dnf') and dnf_packages:
|
||||||
print('Installing additional packages: %s' % dnf_packages)
|
print('Installing additional packages: %s' % dnf_packages)
|
||||||
os.system('sudo dnf install -y ' + dnf_packages)
|
os.system('sudo dnf install -y ' + dnf_packages)
|
||||||
else:
|
elif apt_packages:
|
||||||
print('You need to install Pillow, lxml and pyOpenSSL\ni.e. sudo pip3 install pillow lxml pyOpenSSL')
|
print('You need to install Pillow, lxml and pyOpenSSL\ni.e. sudo pip3 install pillow lxml pyOpenSSL')
|
||||||
if 'poppler' in apt_packages:
|
if 'poppler' in apt_packages:
|
||||||
print('You need to install pdftocairo (part of poppler-utils)')
|
print('You need to install pdftocairo (part of poppler-utils)')
|
||||||
input("After installing those packages, run install again")
|
print("After installing those packages, run install again")
|
||||||
self.failed = True
|
self.failed = True
|
||||||
return
|
return
|
||||||
target = self.target
|
target = self.target
|
||||||
|
|
Loading…
Reference in a new issue