Now only compresses the file if it exists, to avoid failures when creating .deb packages
This commit is contained in:
parent
8db8e8611e
commit
e336bb2c2a
1 changed files with 2 additions and 1 deletions
1
setup.py
1
setup.py
|
|
@ -54,6 +54,7 @@ def compile_translations():
|
|||
|
||||
compile_translations()
|
||||
try:
|
||||
if os.path.isfile('data/devede.1'):
|
||||
os.system("gzip -c data/devede.1 > data/devede.1.gz")
|
||||
except:
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue