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

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