#!/bin/sh set -e . /usr/share/debconf/confmodule db_get msttcorefonts/dldir LOCALCOPY=$RET db_get msttcorefonts/savedir SAVEDIR=$RET db_get msttcorefonts/dlurl URLOVERRIDE=$RET db_get msttcorefonts/http_proxy http_proxy=$RET while ! echo "$http_proxy" | \ egrep -iq 'https?://[[:alnum:]][-.[:alnum:]]+(:\d+)?/?' && \ [ ! -z "$http_proxy" ] ; do db_fset msttcorefonts/http_proxy seen false db_input high msttcorefonts/http_proxy db_go db_get msttcorefonts/http_proxy http_proxy=$RET done ## Content of update-ms-fonts will be concatenated below