From 6c6bd86f222be2a245b00a5692baddd01511241e Mon Sep 17 00:00:00 2001 From: chrys Date: Sun, 26 Feb 2017 18:33:31 +0100 Subject: [PATCH] let install script also install settings if they dont exist --- install.sh | 4 +++- src/fenrir/core/generalInformation.py | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 8595ee3f..a6975adb 100755 --- a/install.sh +++ b/install.sh @@ -41,7 +41,9 @@ if [ -f "/etc/fenrir/settings/settings.conf" ]; then else install -m644 -D "config/settings/settings.conf" /etc/fenrir/settings/settings.conf.current fi -fi +else + install -m644 -D "config/settings/settings.conf" /etc/fenrir/settings/settings.conf +fi # end message diff --git a/src/fenrir/core/generalInformation.py b/src/fenrir/core/generalInformation.py index dff608aa..ef8d11ac 100644 --- a/src/fenrir/core/generalInformation.py +++ b/src/fenrir/core/generalInformation.py @@ -11,8 +11,8 @@ generalInformation = { 'tutorialMode': False, 'currUser':'', 'prevUser':'', -'managerList':['inputManager','screenManager','commandManager','outputManager' - ,'punctuationManager','cursorManager','applicationManager','debug'], +'managerList':['punctuationManager','cursorManager','applicationManager','commandManager' + ,'screenManager','inputManager','outputManager','debug'], 'commandFolderList':['commands','onInput','onScreenUpdate','onScreenChanged' ,'onApplicationChange','onSwitchApplicationProfile',], }