Split package and add BPM hooks
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
trigger_operations: ["install", "upgrade"]
|
||||
target_type: "path"
|
||||
targets: ["usr/share/icons/*/"]
|
||||
depends: ["gtk-update-icon-cache"]
|
||||
run: "/var/lib/bpm/hook-scripts/gtk-update-icon-cache.sh"
|
||||
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
for icons in /usr/share/icons/*; do
|
||||
if [ -e "$icons"/index.theme ]; then
|
||||
gtk-update-icon-cache -q -f "$icons"
|
||||
fi
|
||||
done
|
||||
@@ -0,0 +1,5 @@
|
||||
trigger_operations: ["install", "upgrade"]
|
||||
target_type: "path"
|
||||
targets: ["usr/lib/gtk-4.0/4.0.0/*/"]
|
||||
depends: ["gtk4","glib"]
|
||||
run: "/var/lib/bpm/hook-scripts/gtk4-querymodules.sh"
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
for dir in /usr/lib/gtk-4.0/4.0.0/*/; do
|
||||
[ -d "$dir" ] || continue
|
||||
gio-querymodules "$dir"
|
||||
done
|
||||
Reference in New Issue
Block a user