Make sure to create 'data' folder if NLS is disabled
This commit is contained in:
parent
0ecb074ea7
commit
19c57b4da7
1 changed files with 1 additions and 0 deletions
1
wscript
1
wscript
|
@ -310,6 +310,7 @@ def build (bld):
|
||||||
bld.install_files (appdir, 'data/' + APPNAME + '.desktop')
|
bld.install_files (appdir, 'data/' + APPNAME + '.desktop')
|
||||||
else:
|
else:
|
||||||
folder = os.path.dirname (bld.env['waf_config_files'][0]) + '/data'
|
folder = os.path.dirname (bld.env['waf_config_files'][0]) + '/data'
|
||||||
|
Utils.check_dir (folder)
|
||||||
desktop = APPNAME + '.desktop'
|
desktop = APPNAME + '.desktop'
|
||||||
pre = open ('data/' + desktop + '.in')
|
pre = open ('data/' + desktop + '.in')
|
||||||
after = open (folder + '/' + desktop, 'w')
|
after = open (folder + '/' + desktop, 'w')
|
||||||
|
|
Loading…
Reference in a new issue