Skip to content

Commit

Permalink
bin/job.sh: handle perl upgrade issue unconditionally
Browse files Browse the repository at this point in the history
Signed-off-by: Toralf Förster <toralf.foerster@gmx.de>
  • Loading branch information
toralf committed May 5, 2016
1 parent 1dc54ae commit a0d0c33
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions bin/job.sh
Expand Up @@ -382,14 +382,12 @@ function GotAnIssue() {

# broken Perl upgrade: https://bugs.gentoo.org/show_bug.cgi?id=463976
#
if [[ "$task" = "@system" || "$task" = "@world" ]]; then
grep -q "Can't locate Locale/Messages.pm in @INC" $bak
rc=$?
if [[ "$failed" = "sys-apps/help2man" || "$failed" = "dev-scheme/guile" || $rc -eq 0 ]]; then
Mail "info: auto-repair perl upgrade issue" $bak
echo -e "$task\n%perl-cleaner --all" >> $pks
return
fi
grep -q "Can't locate Locale/Messages.pm in @INC" $bak
rc=$?
if [[ "$failed" = "sys-apps/help2man" || "$failed" = "dev-scheme/guile" || $rc -eq 0 ]]; then
Mail "info: auto-repair perl upgrade issue" $bak
echo -e "$task\n%perl-cleaner --all" >> $pks
return
fi

# mask this package version for this image, prefer to continue with a lower version
Expand Down

0 comments on commit a0d0c33

Please sign in to comment.