From 6f55b6a002fcf0fc2bde1abe828008cdb550b68e Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Sat, 14 Jul 2012 20:35:05 +0300 Subject: [PATCH] warnings: add checking of popularity-contest and why it should be installed. --- warnings | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/warnings b/warnings index b0c3fc4c..a64208d6 100644 --- a/warnings +++ b/warnings @@ -6,3 +6,8 @@ command -v nping >/dev/null 2>&1 || { echo >&2 "WARNING: nping isn't installed! command -v aptitude >/dev/null 2>&1 || { echo >&2 "WARNING: aptitude isn't installed! You should install it, because it's used as apt-get"; } command -v gpg2 >/dev/null 2>&1 || { echo >&2 "WARNING: gnupg2 isn't installed! You should install it, because it's used as gpg."; } command -v lynx >/dev/null 2>&1 || { echo >&2 "WARNING: lynx isn't installed! You should install it, because it's used by many functions."; } + +if [ ! -f /usr/share/doc/popularity-contest/copyright ] +then + echo "You might want to install popularity-contest. See http://popcon.debian.org/" +fi