From 485a67e9d3f21bfef491781111849e7a65e70e6b Mon Sep 17 00:00:00 2001 From: chrys87 Date: Tue, 25 Jul 2017 17:46:38 +0200 Subject: [PATCH] Update setup.py --- setup.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index ca7eedf8..bbe2346f 100755 --- a/setup.py +++ b/setup.py @@ -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: