diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/installer | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/installer b/tools/installer index 4b10d102..27ca86bf 100755 --- a/tools/installer +++ b/tools/installer @@ -3,7 +3,12 @@ # include fancy bash color stuff . tools/inc/colors -[ -f /etc/opt/openslx/settings ] && . /etc/opt/openslx/settings +if test -e /etc/opt/openslx/settings; then + sed /etc/opt/openslx/settings -e "s,=,=\"," -e "s,$,\"," > /tmp/slxsettings; + . /tmp/slxsettings; + rm /tmp/slxsettings; +fi; + # determin distribution if [ ! -z $(which lsb_release) ]; then |