summaryrefslogtreecommitdiffstats
path: root/main/shared-mime-info/shared-mime-info.trigger
blob: 82526ff4220ec6d8d2b57a74bbe043e86a7605fc (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

for i in "$@"; do
	if [ -d "$i" ]; then
		update-mime-database "$i" > /dev/null 2>&1
		sync
	fi
done