summaryrefslogtreecommitdiff
path: root/systemd/gdk-pixbuf-cache-loaders.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/gdk-pixbuf-cache-loaders.service')
-rw-r--r--systemd/gdk-pixbuf-cache-loaders.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/systemd/gdk-pixbuf-cache-loaders.service b/systemd/gdk-pixbuf-cache-loaders.service
new file mode 100644
index 000000000..5dd4fd77c
--- /dev/null
+++ b/systemd/gdk-pixbuf-cache-loaders.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Cache all the gdk-pixbuf loaders
+After=multi-user.target
+ConditionPathExists=!/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
+
+[Service]
+Type=oneshot
+ExecStart=/bin/sh -c 'gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache'
+
+[Install]
+WantedBy=multi-user.target