Drop armel_ftbfs.patch, fixed upstream.
[debian/iodine.git] / debian / config
index 020a21470956ff6b1f54b82b3f5cb65d9fd917f7..73c692209193fd63d01f0df1a4512f1f5496d5f2 100644 (file)
@@ -4,10 +4,16 @@ CONFIGFILE=/etc/default/iodine
 set -e
 . /usr/share/debconf/confmodule
 
+getvalue() {
+       awk '/^'"$1"'=/ {sub("^'"$1"'=\"", ""); sub("\"$", ""); value=$0;} END {print value}' /etc/default/iodine
+}
+
 if [ -s $CONFIGFILE ] ; then
-       . $CONFIGFILE
+       START_IODINED="$(getvalue START_IODINED)"
        db_set iodine/start_daemon    "$START_IODINED"
+       IODINED_ARGS="$(getvalue IODINED_ARGS)"
        db_set iodine/daemon_options  "$IODINED_ARGS"
+       IODINED_PASSWORD="$(getvalue IODINED_PASSWORD)"
        db_set iodine/daemon_password "$IODINED_PASSWORD"
 fi