2019-09-12 16:57:57 +01:00
|
|
|
# shellcheck shell=bash
|
|
|
|
|
2015-04-20 19:13:56 +01:00
|
|
|
fixupOutputHooks+=(_gtk2CleanComments)
|
|
|
|
|
|
|
|
# Clean comments that link to generator of the file
|
|
|
|
_gtk2CleanComments() {
|
2019-09-12 16:57:57 +01:00
|
|
|
local f="${prefix:?}/lib/gtk-2.0/2.10.0/immodules.cache"
|
2015-04-20 19:13:56 +01:00
|
|
|
if [ -f "$f" ]; then
|
|
|
|
sed 's|Created by .*bin/gtk-query-|Created by bin/gtk-query-|' -i "$f"
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|