Univention Bugzilla – Bug 54047
Missing quoting in univention-lib/shell/umc.sh
Last modified: 2022-06-01 16:51:14 CEST
Created attachment 10863 [details] Possible patch (following shellcheck recommendation) Missing quoting in univention-lib/shell/umc.sh Due to some missing quoting, the package "ucs-school-umc-exam" prints a lot of error during installation: ''' find: ‘/usr/share/doc/ucs-school-umc-exam/examples/GPO/lockUSB/Windows’: No such file or directory find: ‘XP’: No such file or directory find: ‘/usr/share/doc/ucs-school-umc-exam/examples/GPO/lockUSB/Windows’: No such file or directory find: ‘XP/admx’: No such file or directory ... ''' How to reproduce: Install the "ucs-school-umc-exam" package. See the attached patch for the exact problem.
Suggested patch applied. Now UMC can detect files with whitespace in its filename, so error messages will no longer appear during updates and caching is improved. Fixed on version 9.0.11-11. See commit 7baeea8c
YAML OK Issue reproduced and successfully retested.
<https://errata.software-univention.de/#/?erratum=5.0x323>