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
61 | 61 |
case $? in
|
62 | 62 |
0) if test $OPT_VERBOSE != 0; then echo -e "Package <<$1>> could be Enhanced by:"; fi
|
63 | 63 |
;;
|
64 | |
1) continue
|
|
64 |
1) return
|
65 | 65 |
;;
|
66 | 66 |
*) echo "${SELF}: Internal Error!"
|
67 | 67 |
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 |
|
0 | 8 |
debian-goodies (0.72) experimental; urgency=low
|
1 | 9 |
|
2 | 10 |
[ Axel Beckert ]
|