Skip to content
Newer
Older
100644 37 lines (33 sloc) 1.17 KB
b31a690 @jonjensen Move DEV_4_7_0 development branch to repository trunk.
jonjensen authored
1 #! /bin/sh -e
e807509 @racke copyright added
racke authored
2 #
3 # Copyright 2001 by Stefan Hornburg (Racke) <racke@linuxia.de>
4 #
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public
16 # License along with this program; if not, write to the Free
07f71a7 @pajamian New Free Software Foundation Address in headers of various files
pajamian authored
17 # Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
18 # MA 02110-1301 USA.
b31a690 @jonjensen Move DEV_4_7_0 development branch to repository trunk.
jonjensen authored
19
20 # Source debconf library
21 . /usr/share/debconf/confmodule
22
9b31c0d @racke get infos from settings.cfg
racke authored
23 # Settings
24 if [ -f /etc/interchange/settings.cfg ]; then
25 exec 4</etc/interchange/settings.cfg
26 while read <&4 variable name value; do
27 if [ "$variable" = "Variable" ]; then
28 if [ "$name" = "UI_LOCALE" ]; then
069c743 @racke defaultlocale isn't a flag
racke authored
29 db_set interchange-ui/defaultlocale $value
9b31c0d @racke get infos from settings.cfg
racke authored
30 fi
31 fi
32 done
33 fi
34
35 db_input low interchange-ui/defaultlocale || [ $? -eq 30 ]
b31a690 @jonjensen Move DEV_4_7_0 development branch to repository trunk.
jonjensen authored
36 db_go
Something went wrong with that request. Please try again.