Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Add more post-deinstall workarounds for gnome stuff
Baptiste Daroussin committed 14 years ago
commit 9249b0be5b29765b72476a1a9c20e68c06c87cd4
parent 78e9674813bc9cf320f9f1a66d06ff42b9cd9ee0
1 file changed +6 -1
modified libpkg/pkg_ports.c
@@ -158,10 +158,15 @@ ports_parse_plist(struct pkg *pkg, char *plist)
					}

					/* more workarounds */
+
					/* -uninstall is for gnome stuff
+
					 * glib-compile-schemas, scrollkeeper,
+
					 * and gconftool2
+
					 */
					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, "gtk-update-icon-cache")) {
+
					    strstr(cmd, "fonts.scale") || strstr(cmd, "gtk-update-icon-cache") ||
+
					    strstr(cmd, "-uninstall")) {
						if (comment[0] != '#')
							post_unexec_append(post_unexec_scripts, "%s%s\n", comment, cmd);
					} else