5 # If requested to be purged -- remove our entry
6 popcon_conf=/etc/popularity-contest.conf
7 if [ "$1" = "purge" ]; then
8 # Adjust popularity-contest.conf
9 if [ -e "$popcon_conf" ]; then
10 echo "Removing NeuroDebian url for Popularity Contest submissions."
11 # First remove any explicit mentioning and then empty additions
12 sed -i -e 's,http://neuro.debian.net/cgi-bin/popcon-submit.cgi,,g' \
13 -e '/SUBMITURLS+=" *"/d' \
14 -e '/SUBMITURLS="$SUBMITURLS *"/d' \