Univention Bugzilla – Attachment 10863 Details for
Bug 54047
Missing quoting in univention-lib/shell/umc.sh
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Possible patch (following shellcheck recommendation)
broken_quoting.patch (text/plain), 960 bytes, created by
Jürn Brodersen
on 2021-11-10 11:58:53 CET
(
hide
)
Description:
Possible patch (following shellcheck recommendation)
Filename:
MIME Type:
Creator:
Jürn Brodersen
Created:
2021-11-10 11:58:53 CET
Size:
960 bytes
patch
obsolete
>diff --git a/base/univention-lib/shell/umc.sh b/base/univention-lib/shell/umc.sh >index e8348bf42b..ecfb9337a0 100644 >--- a/base/univention-lib/shell/umc.sh >+++ b/base/univention-lib/shell/umc.sh >@@ -67,7 +67,10 @@ umc_frontend_new_hash () { > if [ -n "$DPKG_MAINTSCRIPT_PACKAGE" ]; then > # touch all html, js, css files from the package to prevent the mtime to be the package build time. > # the mtime needs to be the package extraction time, so that apache serves correct caching information >- find $(dpkg -L "$DPKG_MAINTSCRIPT_PACKAGE" | grep '^/') -maxdepth 0 -mindepth 0 -type f \( -name '*.js' -or -name '*.html' -or -name '*.css' \) -exec touch {} \; >+ dpkg -L "$DPKG_MAINTSCRIPT_PACKAGE" | grep '^/' | while IFS='' read -r line >+ do >+ find "$line" -maxdepth 0 -mindepth 0 -type f \( -name '*.js' -or -name '*.html' -or -name '*.css' \) -exec touch {} \; >+ done > fi > > /usr/sbin/univention-config-registry set "umc/web/cache_bust=$(date +%s)"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 54047
: 10863