summarylogtreecommitdiffstats
path: root/xlunch-conf-install.hook
blob: fb6b0661e65f21a6e4999d526ac78d56893638b9 (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/bash -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 2>/dev/null'
When = PostTransaction
NeedsTargets