2019-09-12 16:57:57 +01:00
|
|
|
# shellcheck shell=bash
|
|
|
|
|
|
|
|
fixupOutputHooks+=(_gtk3CleanComments)
|
2015-04-20 19:13:56 +01:00
|
|
|
|
|
|
|
# Clean comments that link to generator of the file
|
2019-09-12 16:57:57 +01:00
|
|
|
_gtk3CleanComments() {
|
|
|
|
local f="${prefix:?}/lib/gtk-3.0/3.0.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
|
|
|
|
}
|