Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Revert "Remove the @dirrmtry for now and let's what exp-run says"
Baptiste Daroussin committed 14 years ago
commit df64f60789954b85274ab8dc572c17cbd9f58a21
parent ecfa44a
1 file changed +1 -2
modified libpkg/pkg_ports.c
@@ -83,7 +83,7 @@ ports_parse_plist(struct pkg *pkg, char *plist)
				if (plist_p[1] == 'u') {
					comment[0] = '\0';
					/* workaround to detect the @dirrmtry */
-
/*					if (STARTS_WITH(cmd, "rmdir ")) {
+
					if (STARTS_WITH(cmd, "rmdir ")) {
						comment[0] = '#';
						comment[1] = '\0';
					} else if (STARTS_WITH(cmd, "/bin/rmdir ")) {
@@ -92,7 +92,6 @@ ports_parse_plist(struct pkg *pkg, char *plist)
					}
					if (strchr(cmd,'-') || strchr(cmd, '*'))
						comment[0] = '\0';
-
						*/

					if (filestarted) {
						if (sbuf_len(unexec_scripts) == 0)