Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
push update-mime-cache and update-desktop-database to the post-install
Baptiste Daroussin committed 14 years ago
commit 737c4d124e8f76f68b0a3c7423087fea51d811da
parent 77891c5600c9b586d85ff6aeed71e4bc0f763d63
1 file changed +2 -1
modified libpkg/pkg_ports.c
@@ -161,7 +161,8 @@ ports_parse_plist(struct pkg *pkg, char *plist)
					if (strstr(cmd, "rmdir") || strstr(cmd, "kldxref") ||
					    strstr(cmd, "mkfontscale") || strstr(cmd, "mkfontdir") ||
					    strstr(cmd, "fc-cache") || strstr(cmd, "fonts.dir") ||
-
					    strstr(cmd, "fonts.scale")) {
+
					    strstr(cmd, "fonts.scale") || strstr(cmd, "gtk-update-icon-cache") ||
+
					    strstr(cmd, "update-desktop-database") || strstr(cmd, "update-mime-database")) {
						if (comment[0] != '#')
							post_unexec_append(post_unexec_scripts, "%s%s\n", comment, cmd);
					} else