diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/gtk/hooks/gtk2-clean-immodules-cache.sh')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/gtk/hooks/gtk2-clean-immodules-cache.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/nixpkgs/pkgs/development/libraries/gtk/hooks/gtk2-clean-immodules-cache.sh b/nixpkgs/pkgs/development/libraries/gtk/hooks/gtk2-clean-immodules-cache.sh deleted file mode 100644 index dde991fd27cd..000000000000 --- a/nixpkgs/pkgs/development/libraries/gtk/hooks/gtk2-clean-immodules-cache.sh +++ /dev/null @@ -1,12 +0,0 @@ -# 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 -} - |