1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
#!/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
|