Codebase list debian-goodies / 3792469
Fix syntax error in check-enhancements When check-enhancement was queried with a package which isn't enhanced by any other package or when all installed packages were queried, check-enhancements threw the following syntax error: /usr/bin/check-enhancements: line 65: continue: only meaningful in a `for', `while', or `until' loop Replacing the keyword "continue" with "return" fixes the issue. Closes: #863944 Thanks Laurent Bigonville for the bug report and a first analysis! Axel Beckert 6 years ago
2 changed file(s) with 9 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
6161 case $? in
6262 0) if test $OPT_VERBOSE != 0; then echo -e "Package <<$1>> could be Enhanced by:"; fi
6363 ;;
64 1) continue
64 1) return
6565 ;;
6666 *) echo "${SELF}: Internal Error!"
6767 exit 1
0 debian-goodies (0.73) UNRELEASED; urgency=medium
1
2 * Fix syntax error in check-enhancements when querying a package which
3 isn't enhanced by any other package or when querying all installed
4 packages. (Closes: #863944) Thanks Laurent Bigonville!
5
6 -- Axel Beckert <abe@debian.org> Sat, 03 Jun 2017 01:31:37 +0200
7
08 debian-goodies (0.72) experimental; urgency=low
19
210 [ Axel Beckert ]