#!/bin/sh # dpkg v1.0.1 (c) 20.4.2004 by Andreas Ley (u) 28.5.2004 # dpkg wrapper # Make sure install scripts don't call non-installed versions PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 export PATH %ifdef CN # FZK subnets aren't allowed to connect to external targets directly #http_proxy="http://proxy.kit.edu:3128/" http_proxy="http://proxy.fzk.de:8000/" https_proxy="${http_proxy}" ftp_proxy="${http_proxy}" # Hmpf, dpkg ignores no_proxy :-( no_proxy="kit.edu,fzk.de,uni-karlsruhe.de,uka.de" export http_proxy https_proxy ftp_proxy no_proxy %else # No need to use a proxy to go to the local mirror unset http_proxy unset ftp_proxy %endif exec dpkg ${1+"$@"}