Package: popularity-contest
Version: 1.64
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu xenial

There's a typo in the cron.daily file for popularity-contest, there is a
'p' missing in the word encryption when logging. Here's a patch:

--- cron.daily  2016-02-26 11:24:28.591922137 -0800
+++ cron.daily.new      2016-02-26 12:05:45.287398788 -0800
@@ -85,8 +85,8 @@ run_popcon > $POPCON
 GPG=/usr/bin/gpg

 if [ "$ENCRYPT" = "yes" ] && ! [ -x "$GPG" ]; then
-  logger -t popularity-contest "encrytion required but gpg is not
   available."
-  echo "popularity-contest: encrytion required but gpg is not
   available." 2>&1
+  logger -t popularity-contest "encryption required but gpg is not
available."
+  echo "popularity-contest: encryption required but gpg is not
available." 2>&1
   exit 1
 fi

--
Brian Murray                                                 @ubuntu.com
--- cron.daily	2016-02-26 11:24:28.591922137 -0800
+++ cron.daily.new	2016-02-26 12:05:45.287398788 -0800
@@ -85,8 +85,8 @@ run_popcon > $POPCON
 GPG=/usr/bin/gpg
 
 if [ "$ENCRYPT" = "yes" ] && ! [ -x "$GPG" ]; then
-  logger -t popularity-contest "encrytion required but gpg is not available."
-  echo "popularity-contest: encrytion required but gpg is not available." 2>&1
+  logger -t popularity-contest "encryption required but gpg is not available."
+  echo "popularity-contest: encryption required but gpg is not available." 2>&1
   exit 1
 fi
 

Attachment: signature.asc
Description: Digital signature

Reply via email to