Update setup.py

This commit is contained in:
chrys87 2017-07-25 17:46:38 +02:00 committed by GitHub
parent 1a13c69c03
commit 485a67e9d3

View File

@ -9,14 +9,15 @@ data_files = []
directories = glob.glob('config/*/*')
for directory in directories:
files = glob.glob(directory+'/*')
print(directory)
destDir = '/etc/fenrir'
if directory == 'config/punctuation':
if 'config/punctuation' in directory :
destDir = '/etc/fenrir/punctuation'
elif directory == 'config/keyboard':
elif 'config/keyboard' in directory:
destDir = '/etc/fenrir/keyboard'
elif directory == 'config/settings':
elif 'config/settings' in directory:
destDir = '/etc/fenrir/settings'
elif directory == 'config/scripts':
elif 'config/scripts' in directory:
destDir = '/usr/share/fenrir/scripts'
elif 'config/sound' in directory:
if "default-wav" in directory: