summaryrefslogtreecommitdiffstats
path: root/test/libapt/apt-proxy-script
blob: 41cfdc30f03dfc5fb36020958cc2218930c6a7b9 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

if [ $1 = "http://www.debian.org:90/temp/test" ]; then
    echo "http://example.com"
fi
if [ $1 = "http://www.debian.org:91/temp/test" ]; then
    echo "This works" >&2
    echo "http://example.com/foo"
fi