mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 13:02:50 +00:00
create folder before copying font
This commit is contained in:
parent
80eef6fc5b
commit
815ef71a54
@ -378,7 +378,9 @@ class Builder(object):
|
|||||||
"""
|
"""
|
||||||
self._print('Copying OpenLP font...')
|
self._print('Copying OpenLP font...')
|
||||||
source = os.path.join(self.source_path, 'core', 'ui', 'fonts', 'OpenLP.ttf')
|
source = os.path.join(self.source_path, 'core', 'ui', 'fonts', 'OpenLP.ttf')
|
||||||
dest = os.path.join(self.dist_path, 'core', 'ui', 'fonts', 'OpenLP.ttf')
|
dest_dir = os.path.join(self.dist_path, 'core', 'ui', 'fonts')
|
||||||
|
dest = os.path.join(self.dest_dir, 'OpenLP.ttf')
|
||||||
|
os.makedirs(dest_dir)
|
||||||
copy(source, dest)
|
copy(source, dest)
|
||||||
|
|
||||||
def copy_extra_files(self):
|
def copy_extra_files(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user