Update setup.py
This commit is contained in:
parent
d92a504321
commit
0bf9ba33d4
4
setup.py
4
setup.py
@ -6,7 +6,7 @@ from setuptools import setup
|
|||||||
fenrirVersion = '1.5'
|
fenrirVersion = '1.5'
|
||||||
|
|
||||||
data_files = []
|
data_files = []
|
||||||
directories = glob.glob('config/*')
|
directories = glob.glob('config/*/*')
|
||||||
for directory in directories:
|
for directory in directories:
|
||||||
files = glob.glob(directory+'/*')
|
files = glob.glob(directory+'/*')
|
||||||
destDir = '/etc/fenrir'
|
destDir = '/etc/fenrir'
|
||||||
@ -17,7 +17,7 @@ for directory in directories:
|
|||||||
if directory == 'config/settings':
|
if directory == 'config/settings':
|
||||||
destDir = '/etc/fenrir/settings'
|
destDir = '/etc/fenrir/settings'
|
||||||
elif directory == 'config/scripts':
|
elif directory == 'config/scripts':
|
||||||
destDir = '/usr/share/fenrir/scripts/'
|
destDir = '/usr/share/fenrir/scripts'
|
||||||
elif directory == 'config/sound':
|
elif directory == 'config/sound':
|
||||||
destDir = '/usr/share/sounds/fenrir'
|
destDir = '/usr/share/sounds/fenrir'
|
||||||
data_files.append((destDir, files))
|
data_files.append((destDir, files))
|
||||||
|
Loading…
Reference in New Issue
Block a user