mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-30 23:34:12 +03:00
11 lines
286 B
Bash
11 lines
286 B
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
|
||
|
}
|
||
|
|