]> git.donarmstrong.com Git - neurodebian.git/blobdiff - debian/neurodebian-popularity-contest.postrm
Merge remote-tracking branch 'alioth/devel'
[neurodebian.git] / debian / neurodebian-popularity-contest.postrm
diff --git a/debian/neurodebian-popularity-contest.postrm b/debian/neurodebian-popularity-contest.postrm
deleted file mode 100755 (executable)
index 92bb35d..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh -e
-
-#DEBHELPER#
-
-popcon_conf=/etc/popularity-contest.conf
-nd_popcon_conf=/etc/popularity-contest.d/neurodebian.conf
-remove_neurodebian_popcon_pre161() {
-       # Adjust popularity-contest.conf
-       if [ -e "$popcon_conf" ] \
-          && grep -q "http://neuro.debian.net/cgi-bin/popcon-submit.cgi" $popcon_conf; then
-               echo "Removing NeuroDebian url for Popularity Contest submissions."
-               # First remove any explicit mentioning and then empty additions
-               sed -i -e 's,http://neuro.debian.net/cgi-bin/popcon-submit.cgi,,g' \
-                          -e '/SUBMITURLS+=" *"/d' \
-                          -e '/SUBMITURLS="$SUBMITURLS *"/d' \
-                       "$popcon_conf"
-       fi
-}
-
-# If requested to be purged -- remove our entry
-if [ "$1" = "purge" ]; then
-       remove_neurodebian_popcon_pre161
-fi