Update setup.py

This commit is contained in:
chrys87 2017-07-25 17:38:25 +02:00 committed by GitHub
parent 9e91160df4
commit e0efff8ed1

View File

@ -19,7 +19,12 @@ for directory in directories:
elif directory == 'config/scripts': elif directory == 'config/scripts':
destDir = '/usr/share/fenrir/scripts' destDir = '/usr/share/fenrir/scripts'
elif 'config/sound' in directory: elif 'config/sound' in directory:
destDir = '/usr/share/sounds/fenrir' if "default-wav" in directory:
destDir = '/usr/share/sounds/fenrir/default-wav'
elif "default" in directory:
destDir = '/usr/share/sounds/fenrir/default'
elif "template" in directory:
destDir = '/usr/share/sounds/fenrir/template'
data_files.append((destDir, files)) data_files.append((destDir, files))
def read(fname): def read(fname):