8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
12 lines
315 B
Bash
12 lines
315 B
Bash
# shellcheck shell=bash
|
|
|
|
fixupOutputHooks+=(_gtk2CleanComments)
|
|
|
|
# Clean comments that link to generator of the file
|
|
_gtk2CleanComments() {
|
|
local f="${prefix:?}/lib/gtk-2.0/2.10.0/immodules.cache"
|
|
if [ -f "$f" ]; then
|
|
sed 's|Created by .*bin/gtk-query-|Created by bin/gtk-query-|' -i "$f"
|
|
fi
|
|
}
|
|
|