Update setup.py

This commit is contained in:
chrys87 2017-07-25 17:22:27 +02:00 committed by GitHub
parent d92a504321
commit 0bf9ba33d4

View File

@ -6,7 +6,7 @@ from setuptools import setup
fenrirVersion = '1.5'
data_files = []
directories = glob.glob('config/*')
directories = glob.glob('config/*/*')
for directory in directories:
files = glob.glob(directory+'/*')
destDir = '/etc/fenrir'
@ -17,7 +17,7 @@ for directory in directories:
if directory == 'config/settings':
destDir = '/etc/fenrir/settings'
elif directory == 'config/scripts':
destDir = '/usr/share/fenrir/scripts/'
destDir = '/usr/share/fenrir/scripts'
elif directory == 'config/sound':
destDir = '/usr/share/sounds/fenrir'
data_files.append((destDir, files))