summarylogtreecommitdiffstats
path: root/xlunch-conf-install.hook
blob: 9645d9e465fc7d62fa4f5cb2d9b87276afe14374 (plain)
1
2
3
4
5
6
7
8
9
10
11
[Trigger]
Operation = Install
Operation = Upgrade
Type = File
Target = usr/share/applications/*

[Action]
Description = Updating xlunch icons.conf...
Exec = bin/sh -c 'while read -r f; do xlunch-create-entry "$f" >> /etc/xlunch/icons.conf; cat /etc/xlunch/icons.conf | sort | uniq > /etc/xlunch/icons-new.conf; mv /etc/xlunch/icons-new.conf /etc/xlunch/icons.conf; done'
When = PostTransaction
NeedsTargets