Skip to content
This repository
tag: REL_4_7_6
Fetching contributors…

Cannot retrieve contributors at this time

executable file 24 lines (19 sloc) 0.542 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#! /bin/sh -e

# Source debconf library
. /usr/share/debconf/confmodule

SETTINGSCFG=/etc/interchange/settings.cfg
cat > $SETTINGSCFG <<EOF
# This file is automatically generated !
#
# YOU MAY MODIFY THIS FILE
# But we recommend to use dpkg-reconfigure interchange instead.

EOF

db_get interchange/debug
if [ "$RET" = "true" ]; then
echo "Variable DEBUG 1" >> $SETTINGSCFG
else
echo "#Variable DEBUG 1" >> $SETTINGSCFG
fi

if db_get interchange-ui/uilocales; then
echo "$RET" | sed "s/German/Variable UI_LOCALE_DE 1/" >> $SETTINGSCFG
fi
Something went wrong with that request. Please try again.