From 08f00007e11dfded1ce9c65b5eb212164079c237 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 6 Jul 2018 03:36:45 -0500 Subject: user/shared-mime-info: pull in, bump, take, fix --- user/shared-mime-info/shared-mime-info.trigger | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 user/shared-mime-info/shared-mime-info.trigger (limited to 'user/shared-mime-info/shared-mime-info.trigger') diff --git a/user/shared-mime-info/shared-mime-info.trigger b/user/shared-mime-info/shared-mime-info.trigger new file mode 100644 index 000000000..be5371242 --- /dev/null +++ b/user/shared-mime-info/shared-mime-info.trigger @@ -0,0 +1,8 @@ +#!/bin/sh + +for i in "$@"; do + if [ -d "$i" ]; then + update-mime-database "$i" > /dev/null 2>&1 + fi +done +sync -- cgit v1.2.3-70-g09d2