Skip to content

Commit 989bde7

Browse files
authored
Merge pull request #374 from serpent-os/boulder-add-gtk-update-icon-cache-action-macro
boulder: Add `%gtk_update_icon_cache` action macro
2 parents 84498b7 + e78d9d4 commit 989bde7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

boulder/data/macros/actions/misc.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
actions:
22

3+
- gtk_update_icon_cache:
4+
description: Pregenerate icon cache at build time
5+
example: |
6+
%gtk_update_icon_cache
7+
command: |
8+
for i in %(installroot)%(datadir)/icons/*/; do
9+
gtk-update-icon-cache -f $i
10+
done
11+
dependencies:
12+
- binary(gtk-update-icon-cache)
13+
314
- install_bin:
415
description: Install files to %(bindir)
516
example: |

0 commit comments

Comments
 (0)